PDA

View Full Version : Insteon Hub no, what about EnOcean?



Yoggi
June 2nd, 2015, 05:25 AM
Hi Ron,

The Insteon Hub looked like the way to go until I saw your warning.

“Careful Smarthome changed the Hub to no longer work directly. It's using a completely new API and going through their servers (internet required, privacy and security not an option). If you can find the old hub great, use it, if not I suggest to stick with the PLM.”
http://www.promixis.com/forums/showthread.php?21990-Insteon-hub-replace-PLM-or-both-are-needed


What about an EnOcean Girder 6 plugin?

The EnOcean standard is growing (the protocol) and more hardware manufactures seems to join (and have products).
http://fhem.de/commandref.html#EnOcean

I have an EnOcean starter kit ESK 300 (868 MHz) with the USB 300 receiver/transmitter and the EnOcean Pi (serial) so I could help out with testing.
https://www.enocean.com/en/enocean_modules/usb-300-oem/
https://www.enocean.com/en/enocean-pi/


I have tested the above hardware with a Raspberry pi and Fhem software (http://fhem.de/fhem.html) and it works fine but I would like to use Girder 6 only.

Fhem has EnOcean “script drivers”, maybe these can be used as starting of point (If the licenses allows it or rights can be obtained).

Fhem is licences under GPL (v2) but I am not sure about the driver script (I’ll be happy to contact the author).

EnOcean script driver:
https://github.com/mhop/fhem-mirror/blob/master/fhem/FHEM/10_EnOcean.pm

Joachim

Ron
June 2nd, 2015, 08:34 AM
What is the market share for this protocol? I had honest not seen much about it (Smarthome has a total of 9 items which include EnOcean in the title). The protocol appears rather huge, not a quick thing to implement (that .pm file is over 500kB large). Sadly we cannot use that driver as a starting point, the license doesn't allow it and the technology upon which it is based is different from Girder's scripting language ( Perl vs Lua )

Currently I do not have the resources to implement this. If someone wishes to sponsor the development of a plugin for this system then I'm happy to talk.

Yoggi
June 2nd, 2015, 09:03 AM
Hi Ron,

Yes the pm file is big, but a large chunk is html “visualization” and list from what I can see (and non-mandatory encryption).

When I said start of point I didn’t mean copy but more to understand structure the EnOcean modules requires.

I might have a stab at it to see if I can make any sense of it. From what I can see Rijndael/AES encryption is used (Obvious encryption could come later but it would be nice to know how hard this part would be), What would be the best way to do this?

Perl has a module for this, but I can’t find a readymade module for Lua. How could ASE encryption/decryption be done in Girder?

Joachim

Ron
June 2nd, 2015, 09:12 AM
Girder can expose routines AES when needed, so that won't be a problem. I'm happy to help with getting you going on a plugin. The EnOcean site has a bunch of API docs that will prove very useful.

ATWindsor
July 31st, 2015, 01:29 PM
I don't know if it counts for anything, but I would definitely get girder 6 if it had enocean-support, I have the impression that in my part of Europe it is reasonably popular, less than a-wave, but a good numer two.