voilà
[2025-01-02 19:13:18] INFO : Début d'activation du plugin
[2025-01-02 19:13:19] INFO : Info sur le démon : {"launchable_message":"","launchable":"nok","state":"nok","log":"nok","auto":0}
[2025-01-02 19:13:19] DEBUG : Lancement de : /var/www/html/core/class/../../core/php/jeePlugin.php plugin_id=tgw function=install callInstallFunction=1
[2025-01-02 19:13:19] INFO : Latest Theengs Gateway version: 1.5.0
[2025-01-02 19:13:20] INFO : Latest Theengs decoder version: 1.8.3
[2025-01-02 19:22:06] INFO : Latest Theengs Gateway version: 1.5.0
[2025-01-02 19:22:06] INFO : Latest Theengs decoder version: 1.8.3
[2025-01-02 19:22:06] DEBUG : create:online/En ligne
[2025-01-02 19:22:06] DEBUG : create:restart/(Re)Démarrer
[2025-01-02 19:22:06] DEBUG : create:stop/Arrêter
[2025-01-02 19:23:30] DEBUG : local exec:hcitool dev | grep hci => hci0 B8:13:32:B2:BA:19
[2025-01-02 19:24:45] DEBUG : local exec:hcitool dev | grep hci => hci0 B8:13:32:B2:BA:19
[2025-01-02 19:25:07] DEBUG : local exec:hcitool dev | grep hci => hci0 B8:13:32:B2:BA:19
[2025-01-02 19:26:06] DEBUG : local exec:hcitool dev | grep hci => hci0 B8:13:32:B2:BA:19
[2025-01-02 19:27:12] DEBUG : local exec:hcitool dev | grep hci => hci0 B8:13:32:B2:BA:19
[2025-01-02 19:27:13] DEBUG : local exec:hcitool dev | grep hci => hci0 B8:13:32:B2:BA:19
[2025-01-02 19:27:14] DEBUG : local exec:hcitool dev | grep hci => hci0 B8:13:32:B2:BA:19
[2025-01-02 19:28:14] DEBUG : local exec:hcitool dev | grep hci => hci0 B8:13:32:B2:BA:19
[2025-01-02 19:29:43] DEBUG : local exec:ls /tmp/ | grep -Ec tgw_install_in_progress => 0
[2025-01-02 19:29:43] DEBUG : local exec:sudo /opt/TheengsGateway/bin/python3 -m TheengsGateway -h | grep -Ecw "usage:" => 0
[2025-01-02 19:29:43] DEBUG : local exec:ls /tmp/ | grep -Ec tgw_install_in_progress => 0
[2025-01-02 19:29:43] DEBUG : local exec:sudo /opt/TheengsGateway/bin/python3 -m TheengsGateway -h | grep -Ecw "usage:" => 0
[2025-01-02 19:29:43] DEBUG : local exec:sudo systemctl stop TheengsGateway.service =>
[2025-01-02 19:29:43] DEBUG : local exec:sudo rm /etc/systemd/system/TheengsGateway.service =>
[2025-01-02 19:29:43] DEBUG : local exec:sudo systemctl daemon-reload =>
[2025-01-02 19:29:43] DEBUG : local exec:sudo pipx uninstall TheengsGateway =>
[2025-01-02 19:29:43] DEBUG : local exec:ls /tmp/ | grep -Ec tgw_install_in_progress => 0
[2025-01-02 19:29:43] DEBUG : local exec:sudo /opt/TheengsGateway/bin/python3 -m TheengsGateway -h | grep -Ecw "usage:" => 0
[2025-01-02 19:29:43] INFO : Lancement de l'installation de l'antenne 'Antenne BT'
[2025-01-02 19:29:43] DEBUG : local exec:sudo systemctl stop TheengsGateway.service =>
[2025-01-02 19:29:43] DEBUG : local exec:sudo bash /var/www/html/plugins/tgw/core/class/../../resources/install.sh http://192.168.0.56/plugins/tgw/core/php/jeetgw.php?id=686 > /var/www/html/log/tgw_686_update 2>&1 & =>
[2025-01-02 19:30:34] DEBUG : step:0 for id:686
[2025-01-02 19:30:41] DEBUG : step:1 for id:686
[2025-01-02 19:31:52] DEBUG : step:2 for id:686
[2025-01-02 19:33:04] DEBUG : step:3 for id:686
[2025-01-02 19:33:04] DEBUG : local exec:ls /tmp/ | grep -Ec tgw_install_in_progress => 0
[2025-01-02 19:33:05] DEBUG : local exec:sudo /opt/TheengsGateway/bin/python3 -m TheengsGateway -h | grep -Ecw "usage:" => 1
[2025-01-02 19:33:05] DEBUG : Task 'pullGatewayVersion' executed now
[2025-01-02 19:33:05] DEBUG : Listening to topic:'tgw'
[2025-01-02 19:33:05] INFO : Configuration de l'antenne 'Antenne BT'
[2025-01-02 19:33:05] DEBUG : Informations reçues de mqtt2: {"ip":"127.0.0.1","port":"1883","protocol":"mqtt","user":"jeedom","password":"R7DHI0GRXaUjrLJdIm0TRvvYEr1nH8GE82cyOYEISlEbjnYUv5tIqjeKhyOpHa6i"}
[2025-01-02 19:33:05] DEBUG : local exec:echo '{"adapter":"hci0","discovery_filter":["IBEACON"],"discovery_device_name":"Antenne BT","presence":0,"presence_topic":"home\/TGW_686\/presence","log_level":"WARNING","host":"192.168.0.56","port":1883,"user":"jeedom","pass":"R7DHI0GRXaUjrLJdIm0TRvvYEr1nH8GE82cyOYEISlEbjnYUv5tIqjeKhyOpHa6i","lwt_topic":"tgw\/686\/LWT","publish_topic":"home\/TGW_686\/BTtoMQTT","ble_scan_time":5,"ble_time_between_scans":5,"publish_advdata":"0"}' | sudo tee /root/theengsgw.conf => {"adapter":"hci0","discovery_filter":["IBEACON"],"discovery_device_name":"Antenne BT","presence":0,"presence_topic":"home\/TGW_686\/presence","log_level":"WARNING","host":"192.168.0.56","port":1883,"user":"jeedom","pass":"R7DHI0GRXaUjrLJdIm0TRvvYEr1nH8GE82cyOYEISlEbjnYUv5tIqjeKhyOpHa6i","lwt_topic":"tgw\/686\/LWT","publish_topic":"home\/TGW_686\/BTtoMQTT","ble_scan_time":5,"ble_time_between_scans":5,"publish_advdata":"0"}
[2025-01-02 19:33:05] DEBUG : local exec:sudo systemctl stop TheengsGateway.service =>
[2025-01-02 19:33:05] DEBUG : local exec:echo ' [Unit] Description=TheengsGateway Service Requires=bluetooth.target network-online.target [Service] Type=simple ExecStart=/opt/TheengsGateway/bin/python3 -m TheengsGateway Restart=always RestartSec=10 StandardOutput=append:/var/www/html/log/tgw_686 StandardError=append:/var/www/html/log/tgw_686 [Install] WantedBy=multi-user.target ' | sudo tee /etc/systemd/system/TheengsGateway.service =>
[2025-01-02 19:33:05] DEBUG : local exec:ls /opt/TheengsGateway/lib/python3.*/site-packages | grep -Po 'TheengsDecoder-\K([0-9]\.[0-9]\.[0-9])' =>
[2025-01-02 19:33:06] DEBUG : local exec:sudo systemctl daemon-reload =>
[2025-01-02 19:33:06] DEBUG : local exec:sudo systemctl enable --now TheengsGateway.service =>
[2025-01-02 19:33:07] DEBUG : handle Mqtt Message:{"tgw":{"686":{"LWT":"online"}}}
[2025-01-02 19:33:07] INFO : LWT update:online
[2025-01-02 19:34:40] DEBUG : Listening to topic:'tgw'
[2025-01-02 19:34:40] INFO : Configuration de l'antenne 'Antenne BT'
[2025-01-02 19:34:40] DEBUG : Informations reçues de mqtt2: {"ip":"127.0.0.1","port":"1883","protocol":"mqtt","user":"jeedom","password":"R7DHI0GRXaUjrLJdIm0TRvvYEr1nH8GE82cyOYEISlEbjnYUv5tIqjeKhyOpHa6i"}
[2025-01-02 19:34:40] DEBUG : local exec:echo '{"adapter":"hci0","discovery_filter":["IBEACON"],"discovery_device_name":"Antenne BT","presence":0,"presence_topic":"home\/TGW_686\/presence","log_level":"WARNING","host":"192.168.0.56","port":1883,"user":"jeedom","pass":"R7DHI0GRXaUjrLJdIm0TRvvYEr1nH8GE82cyOYEISlEbjnYUv5tIqjeKhyOpHa6i","lwt_topic":"tgw\/686\/LWT","publish_topic":"home\/TGW_686\/BTtoMQTT","ble_scan_time":5,"ble_time_between_scans":5,"publish_advdata":"0"}' | sudo tee /root/theengsgw.conf => {"adapter":"hci0","discovery_filter":["IBEACON"],"discovery_device_name":"Antenne BT","presence":0,"presence_topic":"home\/TGW_686\/presence","log_level":"WARNING","host":"192.168.0.56","port":1883,"user":"jeedom","pass":"R7DHI0GRXaUjrLJdIm0TRvvYEr1nH8GE82cyOYEISlEbjnYUv5tIqjeKhyOpHa6i","lwt_topic":"tgw\/686\/LWT","publish_topic":"home\/TGW_686\/BTtoMQTT","ble_scan_time":5,"ble_time_between_scans":5,"publish_advdata":"0"}
[2025-01-02 19:34:40] DEBUG : local exec:sudo systemctl stop TheengsGateway.service =>
[2025-01-02 19:34:40] DEBUG : local exec:echo ' [Unit] Description=TheengsGateway Service Requires=bluetooth.target network-online.target [Service] Type=simple ExecStart=/opt/TheengsGateway/bin/python3 -m TheengsGateway Restart=always RestartSec=10 StandardOutput=append:/var/www/html/log/tgw_686 StandardError=append:/var/www/html/log/tgw_686 [Install] WantedBy=multi-user.target ' | sudo tee /etc/systemd/system/TheengsGateway.service =>
[2025-01-02 19:34:40] DEBUG : handle Mqtt Message:{"tgw":{"686":{"LWT":"offline"}}}
[2025-01-02 19:34:40] INFO : LWT update:offline
[2025-01-02 19:34:41] DEBUG : local exec:sudo systemctl daemon-reload =>
[2025-01-02 19:34:41] DEBUG : local exec:sudo systemctl enable --now TheengsGateway.service =>
[2025-01-02 19:34:42] DEBUG : handle Mqtt Message:{"tgw":{"686":{"LWT":"online"}}}
[2025-01-02 19:34:42] INFO : LWT update:online
[2025-01-02 19:37:21] INFO : (Re)Démarrage de l'antenne 'Antenne BT'
[2025-01-02 19:37:21] DEBUG : Listening to topic:'tgw'
[2025-01-02 19:37:21] DEBUG : local exec:sudo systemctl restart bluetooth.service =>
[2025-01-02 19:37:21] DEBUG : local exec:sudo systemctl restart TheengsGateway.service =>
[2025-01-02 19:37:22] DEBUG : handle Mqtt Message:{"tgw":{"686":{"LWT":"offline"}}}
[2025-01-02 19:37:22] INFO : LWT update:offline
[2025-01-02 19:37:22] DEBUG : handle Mqtt Message:{"tgw":{"686":{"LWT":"online"}}}
[2025-01-02 19:37:22] INFO : LWT update:online
[2025-01-02 19:40:05] DEBUG : local exec:hcitool dev | grep hci => hci0 B8:13:32:B2:BA:19
[2025-01-03 00:11:00] INFO : Latest Theengs Gateway version: 1.5.0
[2025-01-03 00:11:00] INFO : Latest Theengs decoder version: 1.8.3
[2025-01-03 09:02:53] DEBUG : local exec:hcitool dev | grep hci => hci0 B8:13:32:B2:BA:19
[2025-01-03 09:02:58] DEBUG : Listening to topic:'tgw'
[2025-01-03 09:02:58] INFO : Configuration de l'antenne 'Antenne BT'
[2025-01-03 09:02:58] DEBUG : Informations reçues de mqtt2: {"ip":"127.0.0.1","port":"1883","protocol":"mqtt","user":"jeedom","password":"R7DHI0GRXaUjrLJdIm0TRvvYEr1nH8GE82cyOYEISlEbjnYUv5tIqjeKhyOpHa6i"}
[2025-01-03 09:02:58] DEBUG : local exec:echo '{"adapter":"hci0","discovery_filter":["IBEACON"],"discovery_device_name":"Antenne BT","presence":0,"presence_topic":"home\/TGW_686\/presence","log_level":"WARNING","host":"192.168.0.56","port":1883,"user":"jeedom","pass":"R7DHI0GRXaUjrLJdIm0TRvvYEr1nH8GE82cyOYEISlEbjnYUv5tIqjeKhyOpHa6i","lwt_topic":"tgw\/686\/LWT","publish_topic":"home\/TGW_686\/BTtoMQTT","ble_scan_time":5,"ble_time_between_scans":5,"publish_advdata":"0"}' | sudo tee /root/theengsgw.conf => {"adapter":"hci0","discovery_filter":["IBEACON"],"discovery_device_name":"Antenne BT","presence":0,"presence_topic":"home\/TGW_686\/presence","log_level":"WARNING","host":"192.168.0.56","port":1883,"user":"jeedom","pass":"R7DHI0GRXaUjrLJdIm0TRvvYEr1nH8GE82cyOYEISlEbjnYUv5tIqjeKhyOpHa6i","lwt_topic":"tgw\/686\/LWT","publish_topic":"home\/TGW_686\/BTtoMQTT","ble_scan_time":5,"ble_time_between_scans":5,"publish_advdata":"0"}
[2025-01-03 09:02:58] DEBUG : local exec:sudo systemctl stop TheengsGateway.service =>
[2025-01-03 09:02:58] DEBUG : local exec:echo ' [Unit] Description=TheengsGateway Service Requires=bluetooth.target network-online.target [Service] Type=simple ExecStart=/opt/TheengsGateway/bin/python3 -m TheengsGateway Restart=always RestartSec=10 StandardOutput=append:/var/www/html/log/tgw_686 StandardError=append:/var/www/html/log/tgw_686 [Install] WantedBy=multi-user.target ' | sudo tee /etc/systemd/system/TheengsGateway.service =>
[2025-01-03 09:02:59] DEBUG : handle Mqtt Message:{"tgw":{"686":{"LWT":"offline"}}}
[2025-01-03 09:02:59] INFO : LWT update:offline
[2025-01-03 09:02:59] DEBUG : local exec:sudo systemctl daemon-reload =>
[2025-01-03 09:02:59] DEBUG : local exec:sudo systemctl enable --now TheengsGateway.service =>
[2025-01-03 09:03:00] DEBUG : handle Mqtt Message:{"tgw":{"686":{"LWT":"online"}}}
[2025-01-03 09:03:00] INFO : LWT update:online
[2025-01-03 09:04:05] DEBUG : local exec:hcitool dev | grep hci => hci0 B8:13:32:B2:BA:19
[2025-01-03 09:04:41] DEBUG : local exec:hcitool dev | grep hci => hci0 B8:13:32:B2:BA:19
[2025-01-03 09:24:37] DEBUG : handle Mqtt Message:{"tgw":{"686":{"LWT":"offline"}}}
[2025-01-03 09:24:37] INFO : LWT update:offline
[2025-01-03 09:25:03] DEBUG : handle Mqtt Message:{"tgw":{"686":{"LWT":"online"}}}
[2025-01-03 09:25:03] INFO : LWT update:online
[2025-01-03 10:09:51] INFO : (Re)Démarrage de l'antenne 'Antenne BT'
[2025-01-03 10:09:51] DEBUG : Listening to topic:'tgw'
[2025-01-03 10:09:51] DEBUG : local exec:sudo systemctl restart bluetooth.service =>
[2025-01-03 10:09:51] DEBUG : local exec:sudo systemctl restart TheengsGateway.service =>
[2025-01-03 10:09:51] DEBUG : handle Mqtt Message:{"tgw":{"686":{"LWT":"offline"}}}
[2025-01-03 10:09:51] INFO : LWT update:offline
[2025-01-03 10:09:52] DEBUG : handle Mqtt Message:{"tgw":{"686":{"LWT":"online"}}}
[2025-01-03 10:09:52] INFO : LWT update:online
[2025-01-03 10:18:07] DEBUG : local exec:ls /tmp/ | grep -Ec tgw_install_in_progress => 0
[2025-01-03 10:18:08] DEBUG : local exec:sudo /opt/TheengsGateway/bin/python3 -m TheengsGateway -h | grep -Ecw "usage:" => 1
[2025-01-03 10:18:20] INFO : (Re)Démarrage de l'antenne 'Antenne BT'
[2025-01-03 10:18:20] DEBUG : Listening to topic:'tgw'
[2025-01-03 10:18:20] DEBUG : local exec:sudo systemctl restart bluetooth.service =>
[2025-01-03 10:18:21] DEBUG : local exec:sudo systemctl restart TheengsGateway.service =>
[2025-01-03 10:18:21] DEBUG : handle Mqtt Message:{"tgw":{"686":{"LWT":"offline"}}}
[2025-01-03 10:18:21] INFO : LWT update:offline
[2025-01-03 10:18:21] DEBUG : handle Mqtt Message:{"tgw":{"686":{"LWT":"online"}}}
[2025-01-03 10:18:21] INFO : LWT update:online
[2025-01-03 11:02:45] DEBUG : local exec:hcitool dev | grep hci => hci0 B8:13:32:B2:BA:19
[2025-01-03 11:02:50] DEBUG : local exec:hcitool dev | grep hci => hci0 B8:13:32:B2:BA:19
[2025-01-03 11:03:15] DEBUG : local exec:ls /tmp/ | grep -Ec tgw_install_in_progress => 0
[2025-01-03 11:03:16] DEBUG : local exec:sudo /opt/TheengsGateway/bin/python3 -m TheengsGateway -h | grep -Ecw "usage:" => 1
[2025-01-03 11:03:16] DEBUG : local exec:sudo systemctl stop TheengsGateway.service =>
[2025-01-03 11:03:16] DEBUG : local exec:sudo rm /etc/systemd/system/TheengsGateway.service =>
[2025-01-03 11:03:16] DEBUG : handle Mqtt Message:{"tgw":{"686":{"LWT":"offline"}}}
[2025-01-03 11:03:16] INFO : LWT update:offline
[2025-01-03 11:03:16] DEBUG : local exec:sudo systemctl daemon-reload =>
[2025-01-03 11:03:16] DEBUG : local exec:sudo rm /opt/TheengsGateway =>
[2025-01-03 11:03:16] DEBUG : local exec:ls /tmp/ | grep -Ec tgw_install_in_progress => 0
[2025-01-03 11:03:17] DEBUG : local exec:sudo /opt/TheengsGateway/bin/python3 -m TheengsGateway -h | grep -Ecw "usage:" => 1
[2025-01-03 11:03:22] DEBUG : Listening to topic:'tgw'
[2025-01-03 11:03:22] INFO : Configuration de l'antenne 'Antenne BT'
[2025-01-03 11:03:22] DEBUG : Informations reçues de mqtt2: {"ip":"127.0.0.1","port":"1883","protocol":"mqtt","user":"jeedom","password":"R7DHI0GRXaUjrLJdIm0TRvvYEr1nH8GE82cyOYEISlEbjnYUv5tIqjeKhyOpHa6i"}
[2025-01-03 11:03:22] DEBUG : local exec:echo '{"adapter":"hci0","discovery_filter":["IBEACON"],"discovery_device_name":"Antenne BT","presence":0,"presence_topic":"home\/TGW_686\/presence","log_level":"WARNING","host":"192.168.0.56","port":1883,"user":"jeedom","pass":"R7DHI0GRXaUjrLJdIm0TRvvYEr1nH8GE82cyOYEISlEbjnYUv5tIqjeKhyOpHa6i","lwt_topic":"tgw\/686\/LWT","publish_topic":"home\/TGW_686\/BTtoMQTT","ble_scan_time":5,"ble_time_between_scans":5,"publish_advdata":"0"}' | sudo tee /root/theengsgw.conf => {"adapter":"hci0","discovery_filter":["IBEACON"],"discovery_device_name":"Antenne BT","presence":0,"presence_topic":"home\/TGW_686\/presence","log_level":"WARNING","host":"192.168.0.56","port":1883,"user":"jeedom","pass":"R7DHI0GRXaUjrLJdIm0TRvvYEr1nH8GE82cyOYEISlEbjnYUv5tIqjeKhyOpHa6i","lwt_topic":"tgw\/686\/LWT","publish_topic":"home\/TGW_686\/BTtoMQTT","ble_scan_time":5,"ble_time_between_scans":5,"publish_advdata":"0"}
[2025-01-03 11:03:22] DEBUG : local exec:sudo systemctl stop TheengsGateway.service =>
[2025-01-03 11:03:22] DEBUG : local exec:echo ' [Unit] Description=TheengsGateway Service Requires=bluetooth.target network-online.target [Service] Type=simple ExecStart=/opt/TheengsGateway/bin/python3 -m TheengsGateway Restart=always RestartSec=10 StandardOutput=append:/var/www/html/log/tgw_686 StandardError=append:/var/www/html/log/tgw_686 [Install] WantedBy=multi-user.target ' | sudo tee /etc/systemd/system/TheengsGateway.service =>
[2025-01-03 11:03:22] DEBUG : local exec:sudo systemctl daemon-reload =>
[2025-01-03 11:03:23] DEBUG : local exec:sudo systemctl enable --now TheengsGateway.service =>
[2025-01-03 11:03:24] DEBUG : handle Mqtt Message:{"tgw":{"686":{"LWT":"online"}}}
[2025-01-03 11:03:24] INFO : LWT update:online
[2025-01-03 11:03:29] DEBUG : local exec:ls /tmp/ | grep -Ec tgw_install_in_progress => 0
[2025-01-03 11:03:30] DEBUG : local exec:sudo /opt/TheengsGateway/bin/python3 -m TheengsGateway -h | grep -Ecw "usage:" => 1
[2025-01-03 11:03:30] DEBUG : local exec:ls /tmp/ | grep -Ec tgw_install_in_progress => 0
[2025-01-03 11:03:31] DEBUG : local exec:sudo /opt/TheengsGateway/bin/python3 -m TheengsGateway -h | grep -Ecw "usage:" => 1
[2025-01-03 11:03:31] DEBUG : local exec:sudo systemctl stop TheengsGateway.service =>
[2025-01-03 11:03:31] DEBUG : local exec:sudo rm /etc/systemd/system/TheengsGateway.service =>
[2025-01-03 11:03:31] DEBUG : handle Mqtt Message:{"tgw":{"686":{"LWT":"offline"}}}
[2025-01-03 11:03:31] INFO : LWT update:offline
[2025-01-03 11:03:31] DEBUG : local exec:sudo systemctl daemon-reload =>
[2025-01-03 11:03:31] DEBUG : local exec:sudo pipx uninstall TheengsGateway =>
[2025-01-03 11:03:32] DEBUG : local exec:ls /tmp/ | grep -Ec tgw_install_in_progress => 0
[2025-01-03 11:03:32] DEBUG : local exec:sudo /opt/TheengsGateway/bin/python3 -m TheengsGateway -h | grep -Ecw "usage:" => 1
[2025-01-03 11:03:32] INFO : Lancement de l'installation de l'antenne 'Antenne BT'
[2025-01-03 11:03:32] DEBUG : local exec:sudo systemctl stop TheengsGateway.service =>
[2025-01-03 11:03:32] DEBUG : local exec:sudo bash /var/www/html/plugins/tgw/core/class/../../resources/install.sh http://192.168.0.56/plugins/tgw/core/php/jeetgw.php?id=686 > /var/www/html/log/tgw_686_update 2>&1 & =>
[2025-01-03 11:03:35] DEBUG : step:0 for id:686
[2025-01-03 11:03:42] DEBUG : step:1 for id:686
[2025-01-03 11:04:39] DEBUG : step:2 for id:686
[2025-01-03 11:04:41] DEBUG : step:3 for id:686
[2025-01-03 11:04:41] DEBUG : local exec:ls /tmp/ | grep -Ec tgw_install_in_progress => 0
[2025-01-03 11:04:41] DEBUG : local exec:sudo /opt/TheengsGateway/bin/python3 -m TheengsGateway -h | grep -Ecw "usage:" => 1
[2025-01-03 11:04:41] DEBUG : Task 'pullGatewayVersion' executed now
[2025-01-03 11:04:41] DEBUG : Listening to topic:'tgw'
[2025-01-03 11:04:41] INFO : Configuration de l'antenne 'Antenne BT'
[2025-01-03 11:04:41] DEBUG : Informations reçues de mqtt2: {"ip":"127.0.0.1","port":"1883","protocol":"mqtt","user":"jeedom","password":"R7DHI0GRXaUjrLJdIm0TRvvYEr1nH8GE82cyOYEISlEbjnYUv5tIqjeKhyOpHa6i"}
[2025-01-03 11:04:41] DEBUG : local exec:echo '{"adapter":"hci0","discovery_filter":["IBEACON"],"discovery_device_name":"Antenne BT","presence":0,"presence_topic":"home\/TGW_686\/presence","log_level":"WARNING","host":"192.168.0.56","port":1883,"user":"jeedom","pass":"R7DHI0GRXaUjrLJdIm0TRvvYEr1nH8GE82cyOYEISlEbjnYUv5tIqjeKhyOpHa6i","lwt_topic":"tgw\/686\/LWT","publish_topic":"home\/TGW_686\/BTtoMQTT","ble_scan_time":5,"ble_time_between_scans":5,"publish_advdata":"0"}' | sudo tee /root/theengsgw.conf => {"adapter":"hci0","discovery_filter":["IBEACON"],"discovery_device_name":"Antenne BT","presence":0,"presence_topic":"home\/TGW_686\/presence","log_level":"WARNING","host":"192.168.0.56","port":1883,"user":"jeedom","pass":"R7DHI0GRXaUjrLJdIm0TRvvYEr1nH8GE82cyOYEISlEbjnYUv5tIqjeKhyOpHa6i","lwt_topic":"tgw\/686\/LWT","publish_topic":"home\/TGW_686\/BTtoMQTT","ble_scan_time":5,"ble_time_between_scans":5,"publish_advdata":"0"}
[2025-01-03 11:04:41] DEBUG : local exec:sudo systemctl stop TheengsGateway.service =>
[2025-01-03 11:04:41] DEBUG : local exec:echo ' [Unit] Description=TheengsGateway Service Requires=bluetooth.target network-online.target [Service] Type=simple ExecStart=/opt/TheengsGateway/bin/python3 -m TheengsGateway Restart=always RestartSec=10 StandardOutput=append:/var/www/html/log/tgw_686 StandardError=append:/var/www/html/log/tgw_686 [Install] WantedBy=multi-user.target ' | sudo tee /etc/systemd/system/TheengsGateway.service =>
[2025-01-03 11:04:42] DEBUG : local exec:ls /opt/TheengsGateway/lib/python3.*/site-packages | grep -Po 'TheengsDecoder-\K([0-9]\.[0-9]\.[0-9])' =>
[2025-01-03 11:04:42] DEBUG : local exec:sudo systemctl daemon-reload =>
[2025-01-03 11:04:43] DEBUG : local exec:sudo systemctl enable --now TheengsGateway.service =>
[2025-01-03 11:04:43] DEBUG : handle Mqtt Message:{"tgw":{"686":{"LWT":"online"}}}
[2025-01-03 11:04:43] INFO : LWT update:online
[2025-01-03 11:07:18] DEBUG : Listening to topic:'tgw'
[2025-01-03 11:07:18] INFO : Configuration de l'antenne 'Antenne BT'
[2025-01-03 11:07:18] DEBUG : Informations reçues de mqtt2: {"ip":"127.0.0.1","port":"1883","protocol":"mqtt","user":"jeedom","password":"R7DHI0GRXaUjrLJdIm0TRvvYEr1nH8GE82cyOYEISlEbjnYUv5tIqjeKhyOpHa6i"}
[2025-01-03 11:07:18] DEBUG : local exec:echo '{"adapter":"hci0","discovery_filter":["IBEACON"],"discovery_device_name":"Antenne BT","presence":0,"presence_topic":"home\/TGW_686\/presence","log_level":"WARNING","host":"192.168.0.56","port":1883,"user":"jeedom","pass":"R7DHI0GRXaUjrLJdIm0TRvvYEr1nH8GE82cyOYEISlEbjnYUv5tIqjeKhyOpHa6i","lwt_topic":"tgw\/686\/LWT","publish_topic":"home\/TGW_686\/BTtoMQTT","ble_scan_time":5,"ble_time_between_scans":5,"publish_advdata":"0"}' | sudo tee /root/theengsgw.conf => {"adapter":"hci0","discovery_filter":["IBEACON"],"discovery_device_name":"Antenne BT","presence":0,"presence_topic":"home\/TGW_686\/presence","log_level":"WARNING","host":"192.168.0.56","port":1883,"user":"jeedom","pass":"R7DHI0GRXaUjrLJdIm0TRvvYEr1nH8GE82cyOYEISlEbjnYUv5tIqjeKhyOpHa6i","lwt_topic":"tgw\/686\/LWT","publish_topic":"home\/TGW_686\/BTtoMQTT","ble_scan_time":5,"ble_time_between_scans":5,"publish_advdata":"0"}
[2025-01-03 11:07:18] DEBUG : local exec:sudo systemctl stop TheengsGateway.service =>
[2025-01-03 11:07:18] DEBUG : local exec:echo ' [Unit] Description=TheengsGateway Service Requires=bluetooth.target network-online.target [Service] Type=simple ExecStart=/opt/TheengsGateway/bin/python3 -m TheengsGateway Restart=always RestartSec=10 StandardOutput=append:/var/www/html/log/tgw_686 StandardError=append:/var/www/html/log/tgw_686 [Install] WantedBy=multi-user.target ' | sudo tee /etc/systemd/system/TheengsGateway.service =>
[2025-01-03 11:07:18] DEBUG : handle Mqtt Message:{"tgw":{"686":{"LWT":"offline"}}}
[2025-01-03 11:07:18] INFO : LWT update:offline
[2025-01-03 11:07:19] DEBUG : local exec:sudo systemctl daemon-reload =>
[2025-01-03 11:07:19] DEBUG : local exec:sudo systemctl enable --now TheengsGateway.service =>
[2025-01-03 11:07:20] DEBUG : handle Mqtt Message:{"tgw":{"686":{"LWT":"online"}}}
[2025-01-03 11:07:20] INFO : LWT update:online
[2025-01-03 11:44:13] DEBUG : local exec:hcitool dev | grep hci => hci0 B8:13:32:B2:BA:19
[2025-01-03 11:53:04] DEBUG : local exec:hcitool dev | grep hci => hci0 B8:13:32:B2:BA:19
[2025-01-03 11:53:17] INFO : (Re)Démarrage de l'antenne 'Antenne BT'
[2025-01-03 11:53:17] DEBUG : Listening to topic:'tgw'
[2025-01-03 11:53:17] DEBUG : local exec:sudo systemctl restart bluetooth.service =>
[2025-01-03 11:53:17] DEBUG : local exec:sudo systemctl restart TheengsGateway.service =>
[2025-01-03 11:53:18] DEBUG : handle Mqtt Message:{"tgw":{"686":{"LWT":"offline"}}}
[2025-01-03 11:53:18] INFO : LWT update:offline
[2025-01-03 11:53:18] DEBUG : handle Mqtt Message:{"tgw":{"686":{"LWT":"online"}}}
[2025-01-03 11:53:18] INFO : LWT update:online
[2025-01-03 11:57:53] DEBUG : local exec:hcitool dev | grep hci => hci0 B8:13:32:B2:BA:19
[2025-01-03 11:57:57] INFO : (Re)Démarrage de l'antenne 'Antenne BT'
[2025-01-03 11:57:57] DEBUG : Listening to topic:'tgw'
[2025-01-03 11:57:57] DEBUG : local exec:sudo systemctl restart bluetooth.service =>
[2025-01-03 11:57:58] DEBUG : local exec:sudo systemctl restart TheengsGateway.service =>
[2025-01-03 11:57:58] DEBUG : handle Mqtt Message:{"tgw":{"686":{"LWT":"offline"}}}
[2025-01-03 11:57:58] INFO : LWT update:offline
[2025-01-03 11:57:58] DEBUG : handle Mqtt Message:{"tgw":{"686":{"LWT":"online"}}}
[2025-01-03 11:57:58] INFO : LWT update:online
[2025-01-04 00:09:56] INFO : Latest Theengs Gateway version: 1.5.0
[2025-01-04 00:09:56] INFO : Latest Theengs decoder version: 1.8.3
[2025-01-04 07:08:24] DEBUG : local exec:hcitool dev | grep hci => hci0 B8:13:32:B2:BA:19
[2025-01-04 07:08:52] DEBUG : local exec:hcitool dev | grep hci => hci0 B8:13:32:B2:BA:19
[2025-01-04 07:10:13] DEBUG : handle Mqtt Message:{"tgw":{"686":{"LWT":"online"}}}
[2025-01-04 07:10:13] INFO : LWT update:online
[2025-01-04 07:11:54] DEBUG : local exec:hcitool dev | grep hci => hci0 B8:13:32:B2:BA:19
[2025-01-04 07:12:18] DEBUG : local exec:ls /opt/TheengsGateway/lib/python3.*/site-packages | grep -Po 'TheengsDecoder-\K([0-9]\.[0-9]\.[0-9])' =>
[2025-01-04 08:20:08] DEBUG : handle Mqtt Message:{"tgw":{"686":{"LWT":"online"}}}
[2025-01-04 08:20:08] INFO : LWT update:online
[2025-01-04 08:25:17] DEBUG : handle Mqtt Message:{"tgw":{"686":{"LWT":"online"}}}
[2025-01-04 08:25:17] INFO : LWT update:online
[2025-01-05 00:09:56] INFO : Latest Theengs Gateway version: 1.5.0
[2025-01-05 00:09:56] INFO : Latest Theengs decoder version: 1.8.3
[2025-01-05 07:16:48] DEBUG : local exec:hcitool dev | grep hci => hci0 B8:13:32:B2:BA:19
[2025-01-05 07:18:02] DEBUG : local exec:ls /opt/TheengsGateway/lib/python3.*/site-packages | grep -Po 'TheengsDecoder-\K([0-9]\.[0-9]\.[0-9])' =>
[2025-01-05 07:22:11] DEBUG : local exec:hcitool dev | grep hci => hci0 B8:13:32:B2:BA:19
[2025-01-05 08:09:39] DEBUG : Lancement de : /var/www/html/core/class/../../core/php/jeePlugin.php plugin_id=tgw function=pre_update callInstallFunction=1
[2025-01-05 08:09:44] INFO : Début d'activation du plugin
[2025-01-05 08:09:45] INFO : Info sur le démon : {"launchable_message":"","launchable":"nok","state":"nok","log":"nok","auto":0}
[2025-01-05 08:09:45] DEBUG : Lancement de : /var/www/html/core/class/../../core/php/jeePlugin.php plugin_id=tgw function=update callInstallFunction=1
[2025-01-05 08:09:45] INFO : Latest Theengs Gateway version: 1.5.0
[2025-01-05 08:09:45] INFO : Latest Theengs decoder version: 1.8.3
[2025-01-05 08:10:22] DEBUG : local exec:hcitool dev | grep hci => hci0 B8:13:32:B2:BA:19
[2025-01-05 08:11:50] DEBUG : local exec:hcitool dev | grep hci => hci0 B8:13:32:B2:BA:19
[2025-01-06 00:11:12] INFO : Latest Theengs Gateway version: 1.5.0
[2025-01-06 00:11:12] INFO : Latest Theengs decoder version: 1.8.3
[2025-01-06 12:15:40] DEBUG : local exec:hcitool dev | grep hci => hci0 B8:13:32:B2:BA:19
[2025-01-06 12:17:38] DEBUG : local exec:hcitool dev | grep hci => hci0 B8:13:32:B2:BA:19
[2025-01-06 13:09:42] DEBUG : local exec:hcitool dev | grep hci => hci0 B8:13:32:B2:BA:19
[2025-01-06 17:07:34] DEBUG : local exec:hcitool dev | grep hci => hci0 B8:13:32:B2:BA:19
[2025-01-06 17:28:50] DEBUG : local exec:hcitool dev | grep hci => hci0 B8:13:32:B2:BA:19
[2025-01-06 17:35:35] DEBUG : local exec:hcitool dev | grep hci => hci0 B8:13:32:B2:BA:19
[2025-01-06 18:33:29] INFO : TheengsDecoder version of Antenne BT: 1.8.3
[2025-01-06 18:33:29] INFO : TheengsGateway version of Antenne BT: 1.5.0
[2025-01-06 18:33:33] INFO : TheengsDecoder version of Antenne BT: 1.8.3
[2025-01-06 18:33:33] INFO : TheengsGateway version of Antenne BT: 1.5.0