I can't find on google or on the forum how to make an esp8266 based gateway with a local relay connected report the state of the relay back to my controller(which is a vera, but that should't matter). Thanks for the help.
@Rachmat-Aditiya said:
fhem is more stable but you need to configure everything manually,
configure 'everything' is not entirely true, in respect to MySensors there's an autocreate-mode in FHEM. You will have to manually configure the gateway (e.g. 'define gw MYSENSOR /dev/ttyUSB0'), then activate autocreate (by pressing the include-button on the gateway, or setting the autocreate-attribute on the gateway device), then restart all MySensor-nodes and fhem will create a MYSENSORS_DEVICE-entry for every Sensor that sends presentation-messages while inclusion-mode is active.
I'm using the free version of plot.ly to do plotting from an arduino. Here's a real-time feed, where you can see the effect of last night's irrigation on my soil moisture sensor readings:
https://plot.ly/~WhiteRabbit/997
It's very similar to Xively, but I like how I can easily pan and zoom the data. That's helpful as you get a bigger dataset, like this:
https://plot.ly/~WhiteRabbit/869/
Plot.ly has demo arduino code on their website you can use as a starting point.
Also, I have read how some people are using mysql to collect their data and graph it. I'd like to learn how to do that too, as I think it would be a good data archiving tool, and would provide additional ways to slice and dice the data.
With these solutions, you don't need to be dependent on owning or using a Vera.
I'd be interested to read about what other solutions people are using.
I too have a Vera Plus and the firmware used is OpenWRT. That is the base linux that the Vera controllers are built on. I don't know if theUI for the Vera Edge is the same as the Plus, but on mine if you go to Settings > Firmware in the left menu, it should check if there are any firmware updates available. It's always best to run the latest firmware available.
@Alphalove
I highly recommend itead products, especially for those just getting into MySensors. They remove alot of the pitfalls that electronic noobs (such as myself) encounter when building their first sensor nodes. I used the RMini to build my first relay and it could not have been easier. Many of the troubleshooting problems posted on the forum have to do with setting up relays and these boards eliminate many of those issues.
I also recommend the nano shield from itead to any entry level electronics noobs for setting up early sensor nodes who are not ready for intricate soldering. It provides a nRf socket and a power jack and breaks out all of the nano pins with individual power and ground headers. Just plug in a nano and nRf and program from USB and power the entire setup through a single jack - perfect for beginners.
@yury said in Wall Socket Insertable Node:
Looks cool! Do you have experience with capacities switches? I did not play much with them. afraid to use close to AC interference though...
You need to use a capacitive IC with active shielding, basically you have an extra electrode around your touch electrode and the touch IC will compare capacitive change of the touch electrode with capacitive change from the shield electrode. If the change is due to electrical interference then both electrodes will be changed in a similar way and the IC will not trigger.