Eh, project? Well, sort of...
Last Friday I received some goodies from China: an Arduino Nano + Ethernet Shield:
Really very small, cheap (17 euro) and programmable, since there's an ATMega328P on it.
Whether you want it to upload sensor data from the Nano with http, or do http calls to the Nano, it doesn't matter.
Want your smart meter data presented in the Fibaro HC2? Just change the sketch for the Nano and you're done
I (almost) did that
Here's what I've been doing with it last weekend:
http://blog.hekkers.net/2014/06/15/flex ... n-20-euro/
PS
Thanks to Rene for bringing this really cheap solution to my attention
Cheap programmable Serial to Ethernet converter
Re: Cheap programmable Serial to Ethernet converter
I finished what I (almost) did a week ago: adding a smart meter to the Fibaro HC2. With hardware costing only 17 Euro (and a free port on a switch)
http://blog.hekkers.net/2014/06/22/addi ... ibaro-hc2/
Re: Cheap programmable Serial to Ethernet converter
Nice. I see you use the hc2. Just for fun? Or do you have great things in mind for that device? Because I haven't read anything about mqtt support
Verstuurd vanaf mijn Nexus 5 met Tapatalk
Verstuurd vanaf mijn Nexus 5 met Tapatalk
groeten,
Harry
Harry
Re: Cheap programmable Serial to Ethernet converter
Mostly for fun. It's fun to explore the HC2, but it would be a lot less fun if I'd have to buy the HC2 myself
No big plans, I'm just searching for answers for someone else and thought it would be nice to try a combination of the Ethernet-Nano and HC2.
I don't have enough Zwave hardware to focus on that so this was a fun alternative way of working with the HC2, that's it.
No big plans, I'm just searching for answers for someone else and thought it would be nice to try a combination of the Ethernet-Nano and HC2.
I don't have enough Zwave hardware to focus on that so this was a fun alternative way of working with the HC2, that's it.
Re: Cheap programmable Serial to Ethernet converter
Hi Robbert,
I bought an arduino nano and i got the serial out, by means of the serial monitor on the laptop, but i don't know who to apply the last bit of code from your website in my script, to show up in the fibaro hc2, virtual device.
void loop() {
c = mySerial.read();
switch (c) {
case '/':
receiving = true;
...
break;
case '!':
receiving = false;
...
break;
}
...
if(!receiving) {
if (ether.packetLoop(ether.packetReceive())) {
...
ether.httpServerReply(readingsPage());
}
}
}
Because some code is missing and my programming in arduino is not outstanding.
Would you mind to share your code?
That would be much appreciated
Thanks
I bought an arduino nano and i got the serial out, by means of the serial monitor on the laptop, but i don't know who to apply the last bit of code from your website in my script, to show up in the fibaro hc2, virtual device.
void loop() {
c = mySerial.read();
switch (c) {
case '/':
receiving = true;
...
break;
case '!':
receiving = false;
...
break;
}
...
if(!receiving) {
if (ether.packetLoop(ether.packetReceive())) {
...
ether.httpServerReply(readingsPage());
}
}
}
Because some code is missing and my programming in arduino is not outstanding.
Would you mind to share your code?
That would be much appreciated
Thanks
Re: Cheap programmable Serial to Ethernet converter
No problem.
I'll try to post it here on the forum when I have the time.
I'll try to post it here on the forum when I have the time.
Re: Cheap programmable Serial to Ethernet converter
Thanks, waiing for your reply
Re: Cheap programmable Serial to Ethernet converter
Hi Robert,
It would be awesome to post the source code from the smartmeter before Christmas
Or did you post the source code already?
It would be awesome to post the source code from the smartmeter before Christmas
Or did you post the source code already?