Giter VIP home page Giter VIP logo

Comments (4)

gmag11 avatar gmag11 commented on June 17, 2024 1

Hello @scottcopus. #29 asked for something similar. I threw a few guidelines there that may help. JSONController examples may illustrate how to develop simple (and not so simple) nodes by using a template as start up.

I'm writting a howto guide. It is partially available on dev branch, under docs directory. It is not complete yet. I'm right now working on it.

Check it out and keep an eye on it on the next few days.

from enigmaiot.

scottcopus avatar scottcopus commented on June 17, 2024

@gmag11 Sounds great! Having part of the guide discuss setting up the dev environments (Arduino & PlatformIO) from a noob perspective would be nice. If you've got good links to other sites that can relate to setting up the environments with respect to being able to compile EnigmaIOT, that would be useful too. For example I don't know if I'm supposed to select "Import Arduino Project" or just "Open Project" from PlatformIO. I assume the latter since the repo already contains a 'platform.ini'. But then I'm not sure what I'm really supposed to do next. Can you give a basic rundown of the steps needed? Do you have the ability to set up a "fresh" PlatformIO environment to be able to emulate common issues that a noob would experience while trying to download & compile?

Here's my first roadblock when trying to build it:

Library Manager: Installing git+https://github.com/gmag11/CryptoArduino.git
FileNotFoundError: [WinError 2] The system cannot find the file specified:
  File "C:\Users\Admin\.platformio\penv\lib\site-packages\platformio\builder\main.py", line 177:
    env.SConscript("$BUILD_SCRIPT")
  File "C:\Users\Admin\.platformio\packages\tool-scons\scons-local-4.1.0\SCons\Script\SConscript.py", line 591:
    return _SConscript(self.fs, *files, **subst_kw)
  File "C:\Users\Admin\.platformio\packages\tool-scons\scons-local-4.1.0\SCons\Script\SConscript.py", line 280:
    exec(compile(scriptdata, scriptname, 'exec'), call_stack[-1].globals)

What's your thoughts on my previous suggestion to have a pre-built binary for a node that could send and receive some simple MQTT commands using external input/output? If you've already got an example that does something like this what about compiling and providing it like you do for the gateway binaries?

FYI, I've been trying out Tasmota for the past couple months. I wouldn't have been able to use it without their prebuilt binaries though. However there's a lot of projects where I need something really custom and Tasmota doesn't really fit my needs. That's when I came across your project. It sounds very promising! I just need help getting past over the dev/build hurdles, lol.

thanks!
Scott

from enigmaiot.

gmag11 avatar gmag11 commented on June 17, 2024

I guess you don't have GIT utility installed. Same happened to me a few days ago. If you don't get git download working you can download CryptoArduino from GitHub and copy it under your lib directory in your Platformio project.

Now, how to guide is finished. Feel free to send me any suggestion about missing subjects. Please do it as separate issues.

Personally, I do not see any advantage on having a closed bin of a node. EnigmaIOT has evolved to be a framework to build a cheap network sensor. There are a bunch of examples with different complexity. What I think that is missing are platformio.ini files on every example so that any can compile them out of the box.

from enigmaiot.

gmag11 avatar gmag11 commented on June 17, 2024

How to guide is already released in main branch: https://github.com/gmag11/EnigmaIOT/blob/master/docs/howto.md

from enigmaiot.

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.