Closed pedrorissi81 closed 4 years ago
Hello. This newest version of the script is meant to run in the background, and poll and publish data every 30 seconds. -So the behavior seen here is correct, except it shouldn't quit after a few minutes.
The reason for this change, is that people were requesting the ability to send commands to the Miele appliances. In order for these commands to be picked up by something, the script obviously needed to stay alive.
To run it just once and quit (like it worked previously), pass the parameter "-s" (single run).
Sorry, just tested it myself, and now I see what you mean! The hardware ID of the appliance is added to the string for each single run! Somehow funny, but not really :-) Will fix!
If you could please verify that this has fixed your problem, I would be grateful if you report back, so I can close this issue :-)
It works like expected. No doubled entries anymore:
`
Miniserver Virtual Input | Last value | Last submission |
---|---|---|
_miele_0xxxxxxxxxxxxx3_ApplianceType | 'Dishwasher' | 04/14/2020 1:03:05 PM |
_miele_0xxxxxxxxxxxxx3_DryingStep | '' | 04/14/2020 1:03:05 PM |
_miele_0xxxxxxxxxxxxx3_LightON | '2' | 04/14/2020 1:03:05 PM |
_miele_0xxxxxxxxxxxxx3_ProgramPhase | 1802 | 04/14/2020 1:03:05 PM |
_miele_0xxxxxxxxxxxxx3_ProgramStatus | 0 | 04/14/2020 1:03:05 PM |
_miele_0xxxxxxxxxxxxx3_ProgramType | '0' | 04/14/2020 1:03:05 PM |
_miele_0xxxxxxxxxxxxx3_TimeLeft | 00:01 | 04/14/2020 1:03:05 PM |
_miele_0xxxxxxxxxxxxx3_TimeRunning | 00:00 | 04/14/2020 1:03:05 PM |
_miele_0xxxxxxxxxxxxx3_VentilationStep | '' | 04/14/2020 1:03:05 PM |
loxberry_mqttgateway_keepaliveepoch | 1586862179 | 04/14/2020 1:02:59 PM |
`
Hi,
With the actual version I got the following behaviour:
loxberry_mqttgateway_status
After a few minutes the script stops