When migrating from Jeedom to Home Assistant, it is sometimes necessary to retrieve information from Jeedom, such as the elements of Presence from Bluetooth sensors.
In this tutorial, we will see how to retrieve presence information provided by NUTS devices.
Using jMQTT on Jeedom
To establish the link on the Jeedom side, first install the jMQTT plugin.

Adding a broker
Add the broker located at 192.168.1.21. To simplify, name this broker explicitly.


Addition of new jMQTT equipment
You can choose to add all the items in one piece of equipment, or to separate them according to your preferences. In this example, we add everything in a named equipment Jeedom.


Adding a Lionel Presence command

Whenever the value of #\[Alarm Intrusion \]\[Presences \]\[Lionel \]# changes, the corresponding MQTT frame is updated:

Manual addition of binary_sensor to the Home Assistant configuration
In the file /config/mqtt.yaml, add the following configuration in the section binary_sensor :
– Name: Lionel Presence
single _id: binary_sensor.presence_lionel
state_topic: Jeedom/Presences/Lionel
payload_on: "1"
payload_off: ‘0’
device_class: presence
device:
name: Presences
Identifiers: "Presences"

Result in Home Assistant

