HomeGenie Forum

Automation Program Plugins and Wizard Scripting => Raspberry Pi GPIO/SPI/I2C => Topic started by: pamatika on February 16, 2015, 08:12:28 PM

Title: Raspberry Pi 2 + Zwave.me ZME_UZB1
Post by: pamatika on February 16, 2015, 08:12:28 PM
Hi,

I can't get HG to detect my Z-WAVE usb stick (ZWAVE.ME ZME_UZB1). When plugging the stick in it will show up in dev folder with name "ttyACM0" but HG interface configuration doesn't detect the stick. Does anyone have a clue how to get that working?

Set-up: Raspberry Pi2 + 2015-01-31-raspbian + HG 478
UZB1 is working fine under Win 7 and HG 478.

Thanks for the help.

Pasi
Title: Re: Raspberry Pi 2 + Zwave.me ZME_UZB1
Post by: Gene on February 19, 2015, 08:36:59 PM
The problem is that HG doesn't recognize the RPi2 hardware:

https://github.com/genielabs/HomeGenie/blob/master/HomeGenie/Service/Handlers/Config.cs#L96

it just recognize old Raspberry Pi.
File a issue on github, so I won't forget to update the code for supporting RPi2:

https://github.com/genielabs/HomeGenie/issues

g.
Title: Re: Raspberry Pi 2 + Zwave.me ZME_UZB1
Post by: pamatika on February 20, 2015, 03:12:30 PM
Issue added.
Title: Re: Raspberry Pi 2 + Zwave.me ZME_UZB1
Post by: Gene on February 21, 2015, 03:24:35 PM
Please could you test the issue with HG r480?

http://www.homegenie.it/forum/index.php?topic=129.msg4468#msg4468 (http://www.homegenie.it/forum/index.php?topic=129.msg4468#msg4468)

Cheers,
g.
Title: Re: Raspberry Pi 2 + Zwave.me ZME_UZB1
Post by: pamatika on February 22, 2015, 09:12:12 PM
First test was unsuccessful. No devices were visible on Z-wave settings. I had the console access through serial port disabled (does it matter?). Is the installation of "mono-complete" packet mandatory before installing HG?
I'll try fresh install tomorrow evening with different configurations.

Pasi
Title: Re: Raspberry Pi 2 + Zwave.me ZME_UZB1
Post by: pamatika on February 23, 2015, 06:37:37 PM
I tried couple of different settings which I though could help but i wasn't able to get HG r480 to detect UZB1 stick.
ttyACM0 shows-up in dev when UZB1 is plugged in but it's not available in HG.


Pasi
Title: Re: Raspberry Pi 2 + Zwave.me ZME_UZB1
Post by: Gene on February 23, 2015, 09:08:59 PM
The bug is now fixed in latest testing release (still named r480).

Cheers,
g.
Title: Re: Raspberry Pi 2 + Zwave.me ZME_UZB1
Post by: pamatika on February 24, 2015, 07:46:26 PM
Tested and it works! Thank you!
Finally I can shutdown my HTPC for nights. \o/

So I can confirm that following set-up works just perfectly:
- Raspberry Pi 2
- 2015-02-16-raspbian-wheezy
- homegenie-beta_1.00.r480_all.deb
- ZWAVE.ME ZME_UZB1 - USB Adapter
- FIBARO FGWPE F-101 - Wall Plug
- FIBARO FGD-211 - Dimmer
- FIBARO FGK-101-107 - Door Sensor

Minor issue is FIBARO FGK-101-107 door switch which doesn't show correct battery level (constant 255%) but otherwise it works just fine. It would be nice feature to select correct NIF from pepper-one DB especially with these battery powered z-wave gadgets.


Pasi
Title: Re: Raspberry Pi 2 + Zwave.me ZME_UZB1
Post by: gs001 on February 25, 2015, 06:23:05 PM
FYI, ver 480 also fixes a Raspberry Pi 2 problem I've been having - Since switching to the RasPi 2, I haven't been able to select ttyAMA0 for the X10 interface - It simply wasn't presented as an option. Now it does.

Gary Sanders