Closed clearwhitesky closed 7 months ago
it still doesn't work.
What you mean that doesn't work? What is the error logs?
I am stuck here, do I need to connect a USB cable from my HA to my G2H and create a USB connection to MQTT broker or Mosquitto broker
It doesn't need to use USB cable.
My purpose is to use G2H as a zigbee hub so I can make use of all my other zigbee devices locally.
Try to telnet to G2H. and use the following command to have a try.
killall -9 mosquitto; /data/bin/mosquitto -d
Thanks for replying
Your suggestion works! Thanks! One more question, on average I get the reading like every few minutes (~4-5 mins) is there a way to get the reading faster? Like every 10 or 30 sec?
I need it because I require precision control to automate some tasks.
So far out of so many temperature and humidity sensors, I have brought and tested, the old Xiaomi temperature/humidity sensor 1st generation (LYWSDCGQ) fits my requirement. They have a very fast update interval every < 10 sec and they run on an AAA battery which means they can last longer as compared to all newer sensors that run on a button battery. Too bad now it's difficult to buy them. I think they stopped producing them and maybe it's because they don't run on encryption.
Excusing the command in telnet
killall -9 mosquitto; /data/bin/mosquitto -d
and now my telnet is connected as shown in HA system information
and after waiting for a while, the reading is coming in now
Try to telnet to G2H. and use the following command to have a try.
killall -9 mosquitto; /data/bin/mosquitto -d
i get
/data/bin/mosquitto: /lib/libm.so.6: version GLIBC_2.29 not found (required by /data/bin/mosquitto) /data/bin/mosquitto: /lib/libc.so.6: version GLIBC_2.25 not found (required by /data/bin/mosquitto) /data/bin/mosquitto: /lib/libc.so.6: version GLIBC_2.28 not found (required by /data/bin/mosquitto)
it still doesn't work.
What you mean that doesn't work? What is the error logs?
I am stuck here, do I need to connect a USB cable from my HA to my G2H and create a USB connection to MQTT broker or Mosquitto broker
It doesn't need to use USB cable.
My purpose is to use G2H as a zigbee hub so I can make use of all my other zigbee devices locally.
Try to telnet to G2H. and use the following command to have a try.
killall -9 mosquitto; /data/bin/mosquitto -d
Thanks for the insight, it's working great as mentioned before but as soon as the camera reboots (power failure) I have to repeat the same command.
I checked what mosquitto is running on boot and its:
141 root 2048 S /tmp/out/mosquitto
After I run the command its:
258 root 2052 S /data/bin/mosquitto -d
Is there any way we can replace from where the /tmp/out is getting pulled from or change the original file?
it still doesn't work.
What you mean that doesn't work? What is the error logs?
I am stuck here, do I need to connect a USB cable from my HA to my G2H and create a USB connection to MQTT broker or Mosquitto broker
It doesn't need to use USB cable.
My purpose is to use G2H as a zigbee hub so I can make use of all my other zigbee devices locally.
Try to telnet to G2H. and use the following command to have a try.
killall -9 mosquitto; /data/bin/mosquitto -d
Thanks for the insight, it's working great as mentioned before but as soon as the camera reboots (power failure) I have to repeat the same command.
I checked what mosquitto is running on boot and its:
141 root 2048 S /tmp/out/mosquitto
After I run the command its:
258 root 2052 S /data/bin/mosquitto -d
Is there any way we can replace from where the /tmp/out is getting pulled from or change the original file?
OK I've been reading g2h-camera-mods README to better understand how some things are working.
Modified normal.xml and changed entry
<process name="/tmp/out/mosquitto">
to
<process name="/data/bin/mosquitto">
Now everything works after reboot! Thanks for all the info available.
Try to telnet to G2H. and use the following command to have a try.
killall -9 mosquitto; /data/bin/mosquitto -d
i get
/data/bin/mosquitto: /lib/libm.so.6: version GLIBC_2.29 not found (required by /data/bin/mosquitto) /data/bin/mosquitto: /lib/libc.so.6: version GLIBC_2.25 not found (required by /data/bin/mosquitto) /data/bin/mosquitto: /lib/libc.so.6: version GLIBC_2.28 not found (required by /data/bin/mosquitto)
I got the same result. What can be done about it?
Hi,
I have a Aqara G2H (ZNSXJ12LM) and I have opened up the telnet by carrying out the SDcard method.
I have successfully added it into my HA.
I have paired an Aqara Temperature and Humidity Sensor (WSDCGQ11LM) to this camera through the Aqara Home app and this device was shown in my HA.
But strangely I don't get any reading in HA, it has been showing unavailable for all parameter (Battery, Temperature, Humidity, Pressure)
I process to enable the Public MQTT through Telnet
and it still doesn't work.
When I look into my HA > System information
I notice that the MQTT is not connected.
I look into my log and there is a error
I am stuck here, do I need to connect a USB cable from my HA to my G2H and create a USB connection to MQTT broker or Mosquitto broker?
My purpose is to use G2H as a zigbee hub so I can make use of all my other zigbee devices locally. Anyone have experience working with G2H?
Thank you.