Forum Replies Created
-
AuthorPosts
-
SmartinParticipantHaha, yes it takes some getting used to!
I think the main challenge is the limited ressources of the esp8266.
ESP32 or other LoRa WAN-enabled controller hybrids seem to be required to push towards distributed OS mesh cloud, to enable seamless distributed home automation connectivity (ble humidity/pressure sensor#4 -> !OSvalve#4 mesh network messaging)
Did you login on the OS device yet?
You can update the html in the html folder, I can’t find the link now how to recompile that html2raw.cpp. Memory is the limiting factor I think!
SmartinParticipantThis looks really nice, thank you for sharing!
Dave would mind sharing how you adjust for drought? Pretty please!
SmartinParticipantHello Andrew,
I can recommend Node-Red to read your API (ask their support if they please write a nodered library, else play with http- and function-block) on the one side and send HTTP GET commands to OS: https://openthings.freshdesk.com/support/solutions/articles/5000716363-os-api-documents
If you were to use a RaspberryPi for that, I’d advise using IOTstack: https://github.com/SensorsIot/IOTstack (NOTE: do install RaspAP FIRST!!! https://raspap.com/ )
Also think and read about the backup function BEFORE you go into production.Good *uck!
PS: You could ofc try to modify the firmware, but for that you’d have to read into it first. For that I can recommend opening the firmware in PlatformIO and CTRL-clicking terms of interest to reveal their definitions or flat out searching for terms like MQTT, HTTP or STATE. Node-Red is the beginner friendly way, but it also has many pitfalls! Nevertheless there are many people who solved similar nodered problems on the internet, compared to OS-compile-problems.
February 2, 2021 at 3:02 pm in reply to: Custom (atm indoor) OS 3.0 HW + 2.1.9(4) SW hacking :) #69182
SmartinParticipantHaha, I found a bug in the matrix, how to upload more pictures 😛
Please ignore/delete the doublicates if you can!February 2, 2021 at 2:55 pm in reply to: Custom (atm indoor) OS 3.0 HW + 2.1.9(4) SW hacking :) #69176
SmartinParticipantThank you Ray, for replying and sharing!
That definately sounds like a smart idea! What a funny coincidence. (I’d imagine the user being Stefan Schmaltz from openspinklershop.de ^^)
About what time horizon do you think for the extension module?(And yes, I ment ADS1115.)
I’m somewhat stumped by the “Expander Detection” but have 10 PCA9555 soldered up on SSOP24-breakouts and am ready to rumble further, starting mid feb!
Attached just some pictures how I butchered your OS-HW-3.0 :3. Maybe, just maybe I’ll learn to redesign with TH-MOS-FETs, although the SMD sample booklet arrived 😛
NinjaEdit: Do you think current driven pump shutoff (last picture) would ever fit into OpenSprinkler?
Attachments:
February 1, 2021 at 11:27 am in reply to: Custom (atm indoor) OS 3.0 HW + 2.1.9(4) SW hacking :) #69167
SmartinParticipantLet me start by thanking you again, Ray! The project you set out to develop is awesome!
Atm I have holidays and take a break from my project.
When I come back, I want to further develop OS and wonder how to go about it, to ultimately merge and not only develop another exotic branch.
I’d like to structure pull requests like this and apprechiate feedback:
- add MQTT_pushmessage case Custom Sensor
- add support for 8 binary soil moisture sensors, corresponding to the 8 ports
- add support for air humidity control (SHT31-I2C)
Ofc these PR will be without sensor initialisation, to not bloat the Firmware.
When thinking about it, some kind of firmware customiser GUI for all the possible I2C attachments would be wise. This GUI would then paste the class definitions in opensprinkler.h and opensprinkler.cpp and put the init code there + sets up mqtt sending of the measured values.
For my thesis I’ll be referencing what I put where to get it to work and it will be in the public domain.What I managed to develop until now (doesn’t work if you don’t have 2xADS1117 plugged in):
https://github.com/StohanzlMart/OpenSprinkler-Firmware/commits/master more to come later this month 🙂
The presentation I gave: https://cloud.technikum-wien.at/s/AQdEjb5fmX9FfMnJanuary 7, 2021 at 10:57 am in reply to: Custom (atm indoor) OS 3.0 HW + 2.1.9(4) SW hacking :) #69025
SmartinParticipantmore pictures to come!
Any ideas where to init the sensors? I circumvented the problems I was having by flashing with vanilla OS first and then uploading my custom OS. ATM I just check if STAtion or AccessPoint mode to fix this bug but ultimately only want to call init (and set a flag) at the right point (mqtt.init()?)
still love this weird pile of foreign language 😀
Attachments:
SmartinParticipant@whackit you could pay a student under crushing debt to programm that for you.
@Samiji, what do you pay ^^, I’ll keep an eye out for wild variables 😉In the meantime I’ll wet your eyes with the water purification capabilities of plants in a greywater system: https://doi.org/10.1016/j.ecoleng.2019.07.003
SmartinParticipantWhat an amazing piece of software this is!
I’ve had no real C++ experience but learned so much by modifying it. But I’ve managed to add a NOTIFY_CUSTOM_SENSOR to your “push_message” MQTT-method and call it in the main loop() debug window to send I2C-sensor data. After resolving the server.h Server.h bug on Windows it was basically a breeze!
I wanted to thank you all wholeheartedly and especially Ray and Samer for all your hard work on this great project!
With love from Austria,
MartinAttachments:
-
AuthorPosts