Open Yves911 opened 9 years ago
Hi @Yves911
yes, that's right. Currently this is a proof of concept code to receive RF message with an esp8266 and send them via wifi to pimatic. It works, but I've some trouble to make the esp8266 startup reliable, seems that this modules are very sensitive.
You don't need an arduino for it. Just use the linked arduino ide to flash the code. It shouldn't be hard to adapt the code to read a sensor and send the info to the regular pimatic api. So if you want to give it a try, go for it :)
Hi @sweetpi
Unfortunately my esp8266 module found another usage in the meantime (see here http://forum.pimatic.org/topic/373/esp8266-esp-201-a-great-piece-of-hardware-for-a-great-app) But a second one is on its way to my home so i will try homeduino-esp8266-node when i will receive the extra module. I have no trouble with the startup of the esp8266 so far with my project (maybe your power supply is not strong enough?)
Hi @sweetpi ,
how do I need to setup the homeduino plugin inside pimatic to receive the data from ESP8266?
Thanks!
I've published a pimatic-homeduino version with support for receiving the data.
You have to add a apikey to the homeduino config and the same key to the settings. Currently this node only supports sending rf receives to pimatic. Be warned: This is all proof of concept and unfinished.
I've got a few spare esp boards now and I'll try and have a look at this, as soon as i've set up a virtual server with a development instance of pimatic.
regarding stability, have you looked at your powersupplies? I see a lot of variance on the current draw on my units and what the internet claims. 150-700mA while running. Although, I've only seen 150-350mA myself.
I have had it running on a esp-201 it crashed randomly due to power issues. Now I have it running on a Nodemcu with USB, it runs smooth for a while now after https://github.com/pimatic/RFControl/commit/ca566d8e5f20f24403b11c2542d2b66f623c0daf
I would really love sending then I can move everything to my NAS :smile:
Hi all. Trying to run this on a lolin v3 board. And if I connect a cheapo rf receiver it works fine but has no range. As soon as I connect a superheterodyne receiver it stops receiving anything. Can anyone suggest what I'm doing wrong? Or if they have this working with similar hardware.
edit: Have now got it working by using gpio2 as the receiving pin, it receives ok but the esp keeps crashing. It reboots after every command received and if i dont send a command it just sits there in a boot loop
Hi @sweetpi If i understand well you are working on a esp8266, is it to play the role of a repeater for RF messages or a node to collect data and send to pimatic over wifi? Currently i am using pimatic to monitor my gas and electricity consumption + generic protocol to send those values to pimatic : this solution works fine (and reliable). But there are some cons : realtime consumption is not very accurate (realtime means 5 mins actually) and it create a lot of RF traffic that block some other communication.
Right now i have a free nano and esp8266 module, so if you need that i perform some tests : i can.
Thanks Yves