Nonflammable

Results 2 comments of Nonflammable

bash version: ```shell timestamp=`date +%s|xargs printf %x` czas=$(printf %s "$timestamp" | dd conv=swab 2> /dev/null | rev) mosquitto_pub -t home/OpenMQTTGateway/commands/MQTTtoBT -m '{ "ble_write_address":"AA:BB:CC:DD:EE:FF", "ble_write_service":"ebe0ccb0-7a0a-4b0c-8a1a-6ff2997da3a6", "ble_write_char":"ebe0ccb7-7a0a-4b0c-8a1a-6ff2997da3a6", "ble_write_value":"'$czas'01", "value_type":"HEX", "immediate":true }' ```...

Change line: https://github.com/h4/lywsd02/blob/master/scripts/lywsd02#L17 to: client.time = datetime.utcnow()