You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to call the Homeassistant mqtt.publish service to update the network map data. So I call it with topic zigbee2mqtt/bridge/request/networkmap and type:raw and routes: true like so:
However, it produces this error when processing the response:
2022-01-02 09:43:33 ERROR (MainThread) [homeassistant.util.logging] Exception in attributes_message_received when handling msg on 'zigbee2mqtt/bridge/response/networkmap': '{"data":{},"error":"Type '{type: raw, routes: true}' not supported, allowed are: raw,graphviz,plantuml","status":"error"}'
So it seems to take the full payload as TYPE property value. So I changed payload just to “raw”, and indeed that call succeeds and produces a network map now, however as “routes” defaults to false, how can I set it to true? What am I missing?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi,
I am trying to call the Homeassistant mqtt.publish service to update the network map data. So I call it with topic zigbee2mqtt/bridge/request/networkmap and type:raw and routes: true like so:
However, it produces this error when processing the response:
So it seems to take the full payload as TYPE property value. So I changed payload just to “raw”, and indeed that call succeeds and produces a network map now, however as “routes” defaults to false, how can I set it to true? What am I missing?
Beta Was this translation helpful? Give feedback.
All reactions