Comments (7)
We haven't tested Liota on "esp8266" but you can surely give a try.
from liota.
You can give a try and let us know if something doesn't work will try to provide the necessary help.
from liota.
Would love to, but since I'm currently completely new to liota, I think that's gonna be very tough for me.
Last month I was at VMworld but was unable to attend the Building and Monitoring IoT with Liota and Wavefront [CODE5546U]. :( Otherwise I would now have known more about it, at least how to do it on a rasppi so it would be easier to "reproduce" it on one of my esp8266's. (I don't own a rasppi)
from liota.
I guess the first step is the most basic "problem":
In general, liota can be installed:
$ git clone https://github.com/vmware/liota.git
$ cd liota/
$ python setup.py install
On an esp8266 with Python, there's nothing else than... Python. No linux, no bash, no '$', no git, nothing...
from liota.
Just to let you know, I have decided not to use an esp8266 but the big(ger) brother esp32.
So now I ordered a Chinese esp32, which should arrive in a couple of weeks from now.
I think most liota code is OS independent / python-only, except for some .sh scripts. I have found:
Install:
$ cd liota/
$ python setup.py install
Setup:
$ LIOTA_USER="non-root user" ./post-install-setup.sh
Autostart:
?
Device discovery:
sudo ./liotapkg.sh load dev_disc/dev_disc sha1_checksum
use CmdMessage to check certain information (under /usr/lib/liota/packages/dev_disc)
sudo ./liota_devsim_pipe.sh list th
Execute:
$ sudo nohup python simulated_graphite_event_based.py &
Pieces like install, setup and execute should also be possible manually without bash, so probably only the liotapkg.sh
and scripts like liota_devsim_pipe.sh
cannot work.
from liota.
I've received my ordered esp32 module (one with extra psRAM and an sd-card slot).
Installed micropython from https://github.com/loboris/MicroPython_ESP32_psRAM_LoBo
Next step is to get the first requirements for liota fixed.
From here https://github.com/vmware/liota/blob/master/liota-lite/requirements.txt
I now have linux_metrics and paho able to import without errors, but aenum and pint are not easy on micropython. (and then I don't know if the imported linux_metrics and paho are good enough)
from liota.
This has been silent for some time...
I was struggling with the limitations of micropython, since that's the only python available for the esp modules.
Unfortunately I am still unable to get the required modules into micropython, basically just because the modules and/or their dependencies don't exist for micropython or because they are too different (limited).
from liota.
Related Issues (20)
- Should it be enforced only one Liotad running on the EdgeSystem
- Syslog mechanism in Liota
- Developer Guide required for Liota
- Build Liota "SNAP" HOT 1
- Liotapkg.sh returns package manager not running inspite it is running
- Liota Package manager should handle independent packages loading in parallel
- Debian and RPM versions to be created for Liota
- Exit status should be non-negative value
- Check the possible approach to merge setup.py of Liota and Liota-lite
- /usr/lib/liota is not created with pip install HOT 3
- autostartliota script contains wrong liotad.py path HOT 1
- unset_property call to be designed in Liota
- Client certificate support MQTT provide examples
- Re-visit metric handler design
- Revisit sha1sum checksum mechanism for the dependent packages.
- 请问是否有中文版本示例与文档? HOT 5
- No module named 'pip.req' HOT 1
- Considerations on comparing to Apache MiNiFi and StreamSets's data collector edge
- Profinet example
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from liota.