KC828-Server has two ethernet
I installed Debian on CM4 with ipV4 192.168.1.128
another ipV4 is 192.168.1.129, work mode MQTT
My problem is KC828-Server can be pinged from 192.168.1.128 to 192.168.1.129, but unable to respond mqtt command, neither to login until I do a restart then everything works fine.
This happens many times in a day, and I can't figure out how to solve it other than restarting the module.
Please advise.
do you use INPUT for mqtt message?
here is a option in webpage: "SW trigger output" , you can set to "disable", so that INPUT will not trigger OUTPUT directly, then will send MQTT message when INPUT trigger.
(12-26-2022, 02:12 AM)admin Wrote: do you use INPUT for mqtt message?
here is a option in webpage: "SW trigger output" , you can set to "disable", so that INPUT will not trigger OUTPUT directly, then will send MQTT message when INPUT trigger.
Thanks for the response, SW trigger output does not solve the problem.
I found the bug, when I stop MQTT Broker on CM4, then KC868-Server side crashes somewhere and stops working, even http service on KC868-Server doesn't working, except ping.
But how to restart KC868-Server service? I don't like to power-off then power-on again to run it.
if you stop mqtt broker, KC868-Server will always try to connect mqtt broker. but during this time, http webpage also can be open. just mqtt can't established. my testing is : i install home assistant and mqtt broker on KC868-Server, when i turn OFF mqtt broker, i also can use kc868-server ethernet ip login with my web browser.
my KC868-Server firmware is “V1.48”
Yes, you are right, the problem is not the stopping of the mqtt broker service, after I stop mqtt broker, the http web page can also open.
I'm in stage of developing application on CM4, the following are the steps that make the KC868-Server service stop
1. Stop our application services ( including mqtt broker service ), KC868-Server service is still running
2. Build application with npm run build ( vue-cli-service build ), KC868-Server service is not running
3. Start application services to communicate with KC868-Server service
It was confirmed while building our application, KC868-Server http webpage can not be opened, but can be pinged.
I also tried rebooting CM4 but no effect, only power-off then back power-on to make KC868-Server service run again.
KC868-Server have two independent system. one is KinCony's ARM CPU system, another is CM4 system, i think you are developing your CM4 software system. even if no CM4 OS, KinCony's ARM CPU also will work. you can think KC868-Server = KC868-H16BS + Raspberry Pi4
i have not used Debian on CM4, just installed "Raspberry Pi OS" or "home assistant OS", but not seen one system will kill another system. What power supply you have used? voltage and current?