Hello,
im developing a simple application with a Wemos D1 mini with ESPEASY and a Shelly1 (12VDC powered, original firmware, with a Temperature probe add-on) for an irrigation system.
I connect to the ESPEASY a Nextion display and some soil moisture sensors, together with a flow meter. The Shelly 1 command the solenoid for irrigation.
I am able from the Nextion to interact with all the devices and also with the Shelly thanks to the http commands i can manage with the ESPEASY rules and some Dummy device.
The only thing i miss is a way to get the env.temperature back from the Shelly Temp add-on somehow. Data is exposed by the shelly in the json i have at ip/status.
Is there a way for ESPEASY to get that value? As you can see i have no additional devices (and i would like to avoid it) so no MQTT broker available..
Thanks!
Wemos D1 mini and Shelly1, nothing else!
Moderators: grovkillen, Stuntteam, TD-er
Re: Wemos D1 mini and Shelly1, nothing else!
Have you seen the ESPEasy p2p functionality?
https://espeasy.readthedocs.io/en/lates ... #c013-page
This allows you to send task values among other nodes as if the sensor was connected to that other node too.
Only drawback is that you need to use the same task index on both nodes. (and pay close attention to the documented steps, so make sure the unit nr is unique and not 0, nor 255)
Or you can send ESPEasy commands via p2p using the sendto command from rules.
https://espeasy.readthedocs.io/en/lates ... #c013-page
This allows you to send task values among other nodes as if the sensor was connected to that other node too.
Only drawback is that you need to use the same task index on both nodes. (and pay close attention to the documented steps, so make sure the unit nr is unique and not 0, nor 255)
Or you can send ESPEasy commands via p2p using the sendto command from rules.
Re: Wemos D1 mini and Shelly1, nothing else!
Well, using the Shelly1 with original firmware will inhibit the use of an ESPEasy controller to read values.
And ESPEasy currently doesn't have anything to read a http source, and parse the result, so I think it is going to be quite an adventure to get that value out.
NB: This Shelly documentation page shows how you can get the values, we just can't process it using ESPEasy...
And ESPEasy currently doesn't have anything to read a http source, and parse the result, so I think it is going to be quite an adventure to get that value out.
NB: This Shelly documentation page shows how you can get the values, we just can't process it using ESPEasy...
/Ton (PayPal.me)
Re: Wemos D1 mini and Shelly1, nothing else!
Thanks for your answer!TD-er wrote: ↑21 May 2021, 15:52 Have you seen the ESPEasy p2p functionality?
https://espeasy.readthedocs.io/en/lates ... #c013-page
This allows you to send task values among other nodes as if the sensor was connected to that other node too.
Only drawback is that you need to use the same task index on both nodes. (and pay close attention to the documented steps, so make sure the unit nr is unique and not 0, nor 255)
Or you can send ESPEasy commands via p2p using the sendto command from rules.
How can i use this protocol to interface with a Shelly1 with original firmware?
Re: Wemos D1 mini and Shelly1, nothing else!
Yes indeed the value is exposed and easy to get, on either MQTT, CoAP and HTTP. I could even set 2 limit values and trigger some action (like lower-upper temp actions) but still no possiblity to "push" the value.Ath wrote: ↑21 May 2021, 15:59 Well, using the Shelly1 with original firmware will inhibit the use of an ESPEasy controller to read values.
And ESPEasy currently doesn't have anything to read a http source, and parse the result, so I think it is going to be quite an adventure to get that value out.
NB: This Shelly documentation page shows how you can get the values, we just can't process it using ESPEasy...
Re: Wemos D1 mini and Shelly1, nothing else!
Hello, I have the same issue as you. I would like to query a special parameter on a Shelly device with a Wemos d1 mini + Espeasy. E.g. the temperature. And that without any other intermediary instance.
With http://192.168.178.144/status/
I could use a browser to read the parameter among many others.
Now I have two challenges.
1) How can I start such a request via ESPEasy?
2) How can I filter out the correct parameter from the response?
Is there perhaps an answer to this since 2021?
With http://192.168.178.144/status/
I could use a browser to read the parameter among many others.
Now I have two challenges.
1) How can I start such a request via ESPEasy?
2) How can I filter out the correct parameter from the response?
Is there perhaps an answer to this since 2021?
Re: Wemos D1 mini and Shelly1, nothing else!
Not much in that area has changed, though PostToHTTP and PutToHTTP commands have been added, and there is an Issue in the GH Issue tracker with a very similar request: https://github.com/letscontrolit/ESPEasy/issues/4539
/Ton (PayPal.me)
Who is online
Users browsing this forum: No registered users and 57 guests