HA Sensors (Autodiscovered) "ContentPicture" and "ContentAudioId" not working
Issues is present since a while, curenntly running:
TeddyCloud vX.X.X (1b5aa83) - 2023-10-01 18:33:27 +0000 linux-x86_64
running as Docker on Synology DS216+II in macvlan
(same version as Binary only on Ubuntu 22.04 has the same issue)
MQTT Exlporer shows the correct Values for the Entries
Home Assistant sadly shows "Content Audio ID" as 'unknown'
and the Image Entity "Content Picture" shows nothing
I was able to get this two Sensors working by adding them by hand into the HA configuration.yaml
configuration.yaml:
mqtt.yaml:
result:
On Top you see the Autodiscover Entry for "Content Picture" and on bottom the manuel added mqtt Image Entity
here the same for "Content Audio ID" (Top: Autodiscovery / Bottom: manuel added Sensor)
here at last the HA Log:
`Logger: homeassistant.components.mqtt.discovery
Source: components/mqtt/discovery.py:175
Integration: MQTT (documentation, issues)
First occurred: 08:42:59 (48 occurrences)
Last logged: 08:49:58
Unable to parse JSON LastCloudFreshnessCheckTime: '{"name": "LastCloudFreshnessCheckTime", "uniq_id": "teddyCloud_Box_C8FD19852BFD_LastCloudFreshnessCheckTime", "dev_cla": "timestamp", "avty_t": "teddyCloud/status", "stat_t": "teddyCloud/box/C8FD19852BFD/LastCloudFreshnessCheckTime", "dev": {"name": "teddyCloud Box Beere", "ids": "teddyCloud_Box_C8FD19852BFD", "cu": "http://192.168.178.26", "mf": "tonies", "mdl": "Toniebox", "via_device": "teddyCloud_Server", }}'
Unable to parse JSON LastCloudResetTime: '{"name": "LastCloudResetTime", "uniq_id": "teddyCloud_Box_C8FD19852BFD_LastCloudResetTime", "dev_cla": "timestamp", "avty_t": "teddyCloud/status", "stat_t": "teddyCloud/box/C8FD19852BFD/LastCloudResetTime", "dev": {"name": "teddyCloud Box Beere", "ids": "teddyCloud_Box_C8FD19852BFD", "cu": "http://192.168.178.26", "mf": "tonies", "mdl": "Toniebox", "via_device": "teddyCloud_Server", }}'
Unable to parse JSON ContentAudioId: '{"name": "Content Audio Id", "uniq_id": "teddyCloud_Box_C8FD19852BFD_ContentAudioId", "dev_cla": "timestamp", "avty_t": "teddyCloud/status", "stat_t": "teddyCloud/box/C8FD19852BFD/ContentAudioId", "dev": {"name": "teddyCloud Box Beere", "ids": "teddyCloud_Box_C8FD19852BFD", "cu": "http://192.168.178.26", "mf": "tonies", "mdl": "Toniebox", "via_device": "teddyCloud_Server", }}'
Unable to parse JSON ContentTitle: '{"name": "Content Title", "uniq_id": "teddyCloud_Box_C8FD19852BFD_ContentTitle", "avty_t": "teddyCloud/status", "stat_t": "teddyCloud/box/C8FD19852BFD/ContentTitle", "dev": {"name": "teddyCloud Box Beere", "ids": "teddyCloud_Box_C8FD19852BFD", "cu": "http://192.168.178.26", "mf": "tonies", "mdl": "Toniebox", "via_device": "teddyCloud_Server", }}'
Unable to parse JSON ContentPicture: '{"name": "Content Picture", "uniq_id": "teddyCloud_Box_C8FD19852BFD_ContentPicture", "avty_t": "teddyCloud/status", "url_t": "teddyCloud/box/C8FD19852BFD/ContentPicture", "dev": {"name": "teddyCloud Box Beere", "ids": "teddyCloud_Box_C8FD19852BFD", "cu": "http://192.168.178.26", "mf": "tonies", "mdl": "Toniebox", "via_device": "teddyCloud_Server", }}'`