Re: [mh] Need a working Z-Wave configuration

H Plato <[email protected]> Sun, 11 Dec 2022 17:23:40 -0700
Newsgroups gmane.comp.misc.misterhouse.user
Message-ID <[email protected]>
Yup, the razberry is the controller and MH is integrated via the raZberry module. The raZberry sends the proper webcalls to the z-way system, and supports locks, lights, thermostats and bilnds (those are the types of items that I have). With the HTTPGet module, the z-way server updates the MH object when the state changes. I’ve been running this for years and it’s as reliable as insteon for me. 

Basically, plug in the razberry board, download the z-way software, configure a username and password, install the HTTPGet module and it should be there. The first time the raZberry runs it will show the configuration details of the z-way server. This is mine:

09/18/22 01:35:58 PM [raZberry:192.168.0.1]: Controller found
09/18/22 01:35:58 PM [raZberry:192.168.0.1]: Chip version:		ZW0301
09/18/22 01:35:58 PM [raZberry:192.168.0.1]: Software version:	v2.3.5
09/18/22 01:35:58 PM [raZberry:192.168.0.1]: API version:		04.02
09/18/22 01:35:58 PM [raZberry:192.168.0.1]: SDK version:		4.54.01
09/18/22 01:35:58 PM [raZberry:192.168.0.1]: Controller Initialization Complete

> On Dec 11, 2022, at 5:05 PM, Brian M <[email protected]> wrote:
> 
> Thanks.  I've been digging into the Razberry board some more today. I see that it can be supported by the Zwave.me "Z-Way" software. This allows the Razberry to be the Z-wave network controller. Is MH used in conjunction with the Z-Way software (thus the IP address in your configuration), or does it replace Z-way and talk to the Razberry directly? If the latter case, can the Razberry still be my z-wave network hub, or do I need something else to fill that role?
> 
> I appreciate that you're taking the time to share your experience.
> 
>                    -Brian M
> 
> 
> 
> On 12/11/22 15:53, H Plato wrote:
>> I don’t have any razberry ini entries, this is how I define the controller and items in the items.mht file:
>> 
>> RAZBERRY_CONTROLLER,	192.168.0.1,	razberry_controller,	zwave, push, user=adminuser,password=adminpass
>> RAZBERRY_COMM,		razberry_comm,	razberry_controller		
>> RAZBERRY_BLIND,		4, 	main_top_blinds, 	HVAC|zwave, 	razberry_controller
>> 
>> So the 4 maps to the ID #4 in the razberry interface
>> 
>> To get push working, you have to add in the HTTPGet module, with the configuration: 
>> 
>> URL to get: http://mhip:mhport/SUB;razberry_push(%DEVICE%,%VALUE%) <http://mhip:mhport/SUB;razberry_push(%25DEVICE%25,%25VALUE%25)>
>> 
>> Then any time the item changes state, the razberry system sends an update to MH. The push is much nicer than polling the razberry every few seconds.
>> 
>> I don’t think I got a special case, the HAT just fits in a standard case.
>> 
>>> On Dec 11, 2022, at 11:02 AM, Brian M <[email protected] <mailto:[email protected]>> wrote:
>>> 
>>> Great! Would you please share the Razberry configuration that you use? I just need to see the *.ini  entries and one or two sample *.mht entries, comparable to mine below, so I can see if I missed  or messed up anything.
>>> 
>>> Also, if you have your RPi in a case, what case do you use that accommodates the razberry module?
>>> 
>>>                              -Brian M.
>>> 
>>> On 12/11/22 07:58, H Plato wrote:
>>>> Hi Brian, I have a working Z-wave setup, but not using the AEOTec Z-Stick. I have a razberry board plugged into the raspberry pi, and use webcalls back and forth. (There’s a razberry module in MH) Reliability is on-par with insteon for me. I control around 15 items, mainly blinds, locks and a few outdoor modules.
>>>> 
>>>>> On Dec 10, 2022, at 10:26 AM, Brian M <[email protected] <mailto:[email protected]>> wrote:
>>>>> 
>>>>> I'm hoping someone with a working Z-Wave configuration under MH will share their relevant configuration information with me, as I can't get mine to work.
>>>>> 
>>>>> Details:
>>>>> 
>>>>> I'm starting to dabble with Z-Wave under MH. I have an AEOTec Z-Stick (Gen5) plugged into my Raspberry Pi. I've tested the Z-stick using the Open Z-Wave control panel (ozwcp) installed and executed under the MH login. It can control my one Z-Wave light switch, so I know the Z-stick is good and the MH login has all the necessary permissions.
>>>>> 
>>>>> MH can't seem to connect to the Z-stick however. At start-up it attempts to send a reset to the Z-Stick, but fails.
>>>>> 
>>>>> I'm running the latest MH code pulled from the master branch (last update 10/29/2022).
>>>>> 
>>>>> In mh.private.ini I have:
>>>>> 
>>>>> ZWave_RZC0P_serial_port=/dev/ttyACM0
>>>>> rzc0p_errata=4
>>>>> rzc0p_retry_limit=5
>>>>> rzc0p_update10=0
>>>>> rzc0p_update100=1
>>>>> rzc0p_update1000=1
>>>>> rzc0p_timeout=10                      # Tried this at 60, no difference.
>>>>> rzc0p_id=001
>>>>> 
>>>>> In items.mht I have:
>>>>> 
>>>>> #Item Type              Zwave ID#       name            groups          interface       polling_interval        2way(1 or 0)    resume_level (if dimmer)
>>>>> ZWAVE_APPLIANCE,        006,            office_fan,     All_Lights,     ZWave_RZC0P,    7,                      0
>>>>> 
>>>>> Here's the log:
>>>>> 
>>>>> 12/10/22 09:15:52 AM ZWave_RZC0P Info: Specified retry_limit of 5
>>>>> 12/10/22 09:15:52 AM ZWave_RZC0P Info: Specified timeout of 10 seconds
>>>>>  to Zwave interfaceM ZWave_RZC0P Debug: Writing data >DE
>>>>> 12/10/22 09:15:52 AM ZWave_RZC0P ZWave_RZC0P error: ZWave interface timeout, cmd:>DE
>>>>> 12/10/22 09:15:52 AM ZWave_RZC0P ZWave_RZC0P error: data timeout
>>>>> 12/10/22 09:15:52 AM ZWave_RZC0P ZWave_RZC0P error: cmd timeout
>>>>> 12/10/22 09:15:52 AM Oops1: Use of uninitialized value in hash element at /home/mh/mh/bin/../lib/ZWave_RZC0P.pm line 420.
>>>>> 12/10/22 09:15:52 AM Oops1: Use of uninitialized value $upd_count in numeric gt (>) at /home/mh/mh/bin/../lib/ZWave_RZC0P.pm line 423.
>>>>> 12/10/22 09:15:52 AM Oops1: Use of uninitialized value in hash element at /home/mh/mh/bin/../lib/ZWave_RZC0P.pm line 429.
>>>>> 12/10/22 09:15:52 AM Oops1: Use of uninitialized value in numeric gt (>) at /home/mh/mh/bin/../lib/ZWave_RZC0P.pm line 429.
>>>>> 12/10/22 09:15:52 AM ZWave_RZC0P Adding id:006,type:ZWAVE_APPLIANCE,inst:0 to node list
>>>>> 12/10/22 09:15:52 AM ZWave_RZC0P Debug: Writing data >?N006 to Zwave interface
>>>>> 12/10/22 09:15:52 AM ZWave_RZC0P ZWave_RZC0P error: ZWave interface timeout, cmd:>?N006
>>>>> 12/10/22 09:15:52 AM ZWave_RZC0P ZWave_RZC0P error: data timeout
>>>>> 12/10/22 09:15:52 AM ZWave_RZC0P ZWave_RZC0P error: xmit timeout
>>>>> 12/10/22 09:15:52 AM ZWave_RZC0P ZWave_RZC0P error: cmd timeout
>>>>> 12/10/22 09:15:52 AM ZWave_RZC0P Info: Retrying Command >?N006, Retry Number:1 time:1670692573.43541
>>>>> 12/10/22 09:15:52 AM ZWave_RZC0P Debug: Writing data >?N006 to Zwave interface
>>>>> 12/10/22 09:15:52 AM ZWave_RZC0P ZWave_RZC0P error: ZWave interface timeout, cmd:>?N006
>>>>> 12/10/22 09:15:52 AM ZWave_RZC0P ZWave_RZC0P error: data timeout
>>>>> 12/10/22 09:15:52 AM ZWave_RZC0P ZWave_RZC0P error: xmit timeout
>>>>> 12/10/22 09:15:52 AM ZWave_RZC0P ZWave_RZC0P error: cmd timeout
>>>>> 12/10/22 09:15:52 AM ZWave_RZC0P Was in Zwave check_for_data sub for 10.0004432201385 seconds
>>>>> 
>>>>> The Oops1 errors are in the timeout handler, so they probably wouldn't happen if the timeout didn't occur. The simple problem is that the initial send is timing out. 
>>>>> 
>>>>> It's probably something simple, like needing to declare a baud rate (which baud and how) or something similar. Do I need to run setserial first? Can anyone put me on the right track?
>>>>> 
>>>>>                                            -Brian M
>>>>> 
>>>>> 
>>>>> ________________________________________________________
>>>>> To unsubscribe from this list, go to: https://lists.sourceforge.net/lists/listinfo/misterhouse-users <https://lists.sourceforge.net/lists/listinfo/misterhouse-users>
>>>>> 
>>>> 
>>> 
>> 
>

________________________________________________________
To unsubscribe from this list, go to: https://lists.sourceforge.net/lists/listinfo/misterhouse-users