Git Product home page Git Product logo

Comments (7)

KohliDev avatar KohliDev commented on July 28, 2024 1

We haven't tested Liota on "esp8266" but you can surely give a try.

from liota.

KohliDev avatar KohliDev commented on July 28, 2024 1

You can give a try and let us know if something doesn't work will try to provide the necessary help.

from liota.

supersjimmie avatar supersjimmie commented on July 28, 2024

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.

supersjimmie avatar supersjimmie commented on July 28, 2024

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.

supersjimmie avatar supersjimmie commented on July 28, 2024

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.

supersjimmie avatar supersjimmie commented on July 28, 2024

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.

supersjimmie avatar supersjimmie commented on July 28, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.