Domoticz plugin for venta device (LPH60 WiFi App Control)
Either clone this repositorny into Domoticz's python plugin directory
$ cd python_dir/config/plugins
$ git clone this_repo_clone_link
or simply create directory and copy the plugin.py file into $ python_dir/config/plugins/domoticz-venta
.
That was an easy part.
Now we need to find out hash for cennection. It's easiest to sniff packets between your smartphone with Venta App and the device.
- Configure Venta device, and connect it to local network
- Add you Venta device to Venta App
- Download and install Wireshark IMPORTANT NOTICE: make sure to install
Sshdump
component. - Install PCAP Remote on your smartphone
- Export certificate from PCAP Remote app (Context menu -> Settings -> Export certificate)
- Start the PCAP Remote server
- Configure connection in Wireshark (IP, PORT, import certificate)
- Start Wireshark SSH remote capture
- Use filter
(ip.dst == ip_of_venta_device or ip.src == ip_of_venta_device) and tcp and data.len > 0
- Open Venta App and wait for the communication
- At his point you can read JSON file in data field but if you want to make it more clear go to step 12.
- Select any packet with right mouse click and choose follow
- Read
MacAdress
,Hash
,DeviceName
and fill it into python plugin.