Is anyone familiar with the ZBM-220 or ZBM-221 zigbee modules, made by UIS? This is used in modules like the LA5570 and LA5580 available from Jaycar in Australia.
The LA5570 (with ZBM-221) is a zigbee hub and the LA5580 (ZBM-220) is a lock module with 1 x DO and 2 x DI. It has an ancient web interface which I have integrated with HA using command line curl, wget, and grep. There is supposed to be an android app called TechView but I have never been able to find it.
I have a few of these controlling a gate and garage doors, and want to replace them with proper (non-proprietary) zigbee.
It’s actually a cheap, well functioning and reliable system; the only problem is the closed source proprietary interface which has no ability to integrate directly into HA. Command Line sensors & switches that scrape the web interface were my hack for getting it working - see below.
Just wondering if anyone else has tried connecting these devices directly to a ZBT-2 or other zigbee hub. I haven’t made the switch to zigbee yet but am planning to replace these. I’ll post an update here one I get a new hub and try to connect these.
There is very little documentation available online.
https://usermanual.wiki/United-Integrated-Services/ZBM220/html
https://usermanual.wiki/United-Integrated-Services/ZBM221/html
FYI, If anyone else already has these LA55xx modules and is interested in using this with the command line interface, here are the commands - hover over links in the web interface to get the correct “ss=#” number for each sensor or “tn/tf” numbers for switches.
But I wouldn’t recommend buying them; just get proper zigbee devices instead! Jaycar needs to up their game and ditch this proprietary, closed source junk.
# Techview Command Lines
# send stderr to stdout or stdout to stdout for grep.
# if successful, it loads a page with 'top.location.href="../frame_setup.htm?lg=en";' Run this as a sensor with 5 minute refresh interval to stay logged in.
command_techview_login_sensor: "curl -s -S -X POST -d 'page=login.htm' -d 'pws=123' http://192.168.1.230/cgi-bin/webwork.cgi 2>&1 >&1 | grep -o -E 'frame_setup|Failed'"
command_techview_login_switch: "curl -s -S -X POST -d 'page=login.htm' -d 'pws=123' http://192.168.1.230/cgi-bin/webwork.cgi 2>&1 >&1 | grep -o -E 'frame_setup'"
command_techview_hub_refresh_automation_switch: "/usr/bin/curl -X GET http://192.168.1.230/cgi-bin/webwork.cgi?id=98"
command_techview_hub_refresh_sensors_switch: "/usr/bin/curl -X GET http://192.168.1.230/cgi-bin/webwork.cgi?id=90"
# DI sensor reports "Open" when the circuit is closed (shorted to ground)
command_gate_is_open: "wget -q -O - http://192.168.1.230/cgi-bin/webwork.cgi?ss=3 2>&1 | grep -o -E 'Open|Close'"
command_gate_is_closed: "wget -q -O - http://192.168.1.230/cgi-bin/webwork.cgi?ss=4 2>&1 | grep -o -E 'Open|Close'"
# DO switch reports "ON" when the circuit is closed (switch is on). use the 10th ON/OFF result in grep
command_gate_switch_status: "wget -q -O - http://192.168.1.230/cgi-bin/webwork.cgi?ss=1 2>&1 | grep -o -E -m10 'OFF|ON' | tail -n 1"
command_gate_switch_on: "/usr/bin/curl -X GET http://192.168.1.230/cgi-bin/webwork.cgi?tn=1"
command_gate_switch_off: "/usr/bin/curl -X GET http://192.168.1.230/cgi-bin/webwork.cgi?tf=1"
command_garage_is_open: "wget -q -O - http://192.168.1.230/cgi-bin/webwork.cgi?ss=7 2>&1 | grep -o -E 'Open|Close'"
command_garage_is_closed: "wget -q -O - http://192.168.1.230/cgi-bin/webwork.cgi?ss=8 2>&1 | grep -o -E 'Open|Close'"
command_garage_open_switch_status: "wget -q -O - http://192.168.1.230/cgi-bin/webwork.cgi?ss=5 2>&1 | grep -o -E -m10 'OFF|ON' | tail -n 1"
command_garage_open_switch_on: "/usr/bin/curl -X GET http://192.168.1.230/cgi-bin/webwork.cgi?tn=5"
command_garage_open_switch_off: "/usr/bin/curl -X GET http://192.168.1.230/cgi-bin/webwork.cgi?tf=5"
command_garage_close_switch_status: "wget -q -O - http://192.168.1.230/cgi-bin/webwork.cgi?ss=6 2>&1 | grep -o -E -m10 'OFF|ON' | tail -n 1"
command_garage_close_switch_on: "/usr/bin/curl -X GET http://192.168.1.230/cgi-bin/webwork.cgi?tn=6"
command_garage_close_switch_off: "/usr/bin/curl -X GET http://192.168.1.230/cgi-bin/webwork.cgi?tf=6"
command_garage_back_start_on: "/usr/bin/curl -X GET http://192.168.1.230/cgi-bin/webwork.cgi?tn=10"
# read DI (yellow wire) on LA5580:
command_garage_back_is_closed: "wget -q -O - http://192.168.1.230/cgi-bin/webwork.cgi?ss=10 2>&1 | grep -o -E 'ON|OFF' | tail -1"