smsUps
smsUps copied to clipboard
Commands not working
Hi. None of the commands are working. Is there any specific configuration to have then working?
My config is:
UPS_NAME: SMS
UPS_ID: '01'
SMSUPS_SERVER: true
SMSUPS_CLIENTE: false
SMSUPS_FULL_POWER: 700
PORTA: >-
hiden
allow_shutdown: false
SHUTDOWN_CMD: sudo shutdown -h now
USE_SECRETS: false
Long_lived_access_token: >-
hiden
DEVELOPERS_MODE: false
MQTT_TOPIC: home/ups_SMS_01/cmd
MQTT_PUB: home/ups_SMS_01
MQTT_HASS: homeassistant
MQTT_HOST: localhost
MQTT_USER: mqtt
MQTT_PASS: hiden
However the log is presenting the following: 2022-04-12 20:01:40,707 - root - DEBUG - MQTT connected with result code 0 Connected to core-mosquitto 2022-04-12 20:01:40,708 - root - INFO - Subscribe Topic: home/ups/cmd Subscribe Topic: home/ups/cmd Porta: /dev/ttyUSB1 - True
I´ve tried to change the value of the variable MQTT_TOPIC but is not changing.
In the MQTT Info I have:
Transmitted messages: home/ups_SMS_01/cmd 5 mensagem(s) transmitidas(s) recentemente Transmitted 19:47:18 QoS: 0 Payload: {'cmd': 'L'} Transmitted 19:47:20 QoS: 0 Payload: {'cmd': 'C'} Transmitted 19:47:21 QoS: 0 Payload: {'cmd': 'L'} Transmitted 19:50:11 QoS: 0 Payload: {'cmd': 'L'} Transmitted 19:50:12 QoS: 0 Payload: {'cmd': 'C'}