Open alberto072710 opened 2 years ago
I have done more tests. After doing the commands, I re-inserted the bin and .new files into the pendrive for about 5 minutes and the white led went off, I took out the pendrive and connected it via ethernet to the router and the device communicated again via mqtt but I do not have access through from ssh or luci.
Thanks you very much for your fantastic work. I also have the same problem, can't find SSH in the luci web interface. All instructions in the "readme" works fine and I'm not advanced user so what should I do to see the last picture with walues from heat pump? Regards
There is a way to access ssh without going thru first-boot procedure. Assuming MQTT is working, the steps require sending MQTT OS command to spawn ssh server and using deprecated cipher algorithm when ssh-ing.
mosquitto_pub -t "panasonic_heat_pump/commands/OSCommand" -m "/usr/sbin/dropbear" -h <MQTT BROKER IP>
ssh -l root -oKexAlgorithms=+diffie-hellman-group1-sha1 <GOHEISHAMON IP>
Thanks, it worked perfectly. After it, I fixed the dropbear config with this:
# cat /etc/config/dropbear
config dropbear
option PasswordAuth 'on'
option RootPasswordAuth 'on'
option Port '22'
# option BannerFile '/etc/banner'
And after restarted it worked.
Thanks Pando85 for your SSH config, it works like a charm but GHM v1.1.191 crashes randomly
GoHeisaMon on CZ-TAW1B I did struggle to have a version installed and running on my CZ-TAW1B module (see link)
Enabling SSH As a beginner to HA and not a software engineer, I spent lot of time understanding where to start from, especially regarding the MQTT support. To issue the MQTT command for SSH, I used the MQTT Explorer window application but I should have used the MQTT integration (Configure button) to send the command below:
topic : panasonic_heat_pump/commands/OSCommand
Payload : /usr/sbin/dropbear
Make SSH permanent To create the /etc/config/dropbear file, I was blocked. I discovered the versatility of the PUTTY console for creating text files. To copy the text from the console into a file, you only have to type the following command:
cat > /etc/config/dropbear
then to copy-paste the content of the pando85 post below and save with CTRL+D .
config dropbear
option PasswordAuth 'on'
option RootPasswordAuth 'on'
option Port '22'
To check that everything is correct type : cat /etc/config/dropbear .
Files transfert The good news is that WinSCP is supported and will help you to copy file to GoHeisaMon in the future. You must select the SCP Protocol and connect to your module.
Conclusions SSH and WinSCP are very helpful to debug. I also tried without success to add a work-around script to manage crashes (see my other post)
Hello,
First of all thank you very much for your work. I have successfully installed the software. But when trying to enable ssh and luci by sending the commands through mqtt, the device does not connect with mqtt or with ssh. I have sent the commands through mqtt "umount /overlay" , "jffs2reset -y"and "reboot" with the outputs that I attach in the image. I need to configure access by WIFI. What I can be doing wrong
Thanks!