Bonjour,
Juste pour signaler un petit bug qui fait que la notification n’est pas envoyée si le nom affecté à une commande contient un guillemet (2 erreur différentes si 1 ou plusieures commandes ayant un guillemet dans le nom que l’on affecte)
Jeedom Core : 4.2.11
Version JC : 1.1.0
Equipements :
JeedomConnect - Fred : v1.1.0 sur android (ws)
Comportement avec 2 commandes :
Log :
[2022-02-11 10:31:32][INFO] : Send notification with data {"type":"DISPLAY_NOTIF","payload":{"cmdId":"6649","title":"test","message":"test","answer":null,"timeout":null,"notificationId":16445718922601,"otherAskCmdId":null,"options":[],"files":[],"time":1644571892,"channel":"default","update":false,"critical":false,"criticalVolume":null,"color":"#0000ff","image":{"source":"user","name":"Logo Jeedom bulle.png"},"actions":[{"type":"cmd","id":"655","name":"Allume l'entr\u00e9e","index":0},{"type":"cmd","id":"657","name":"Eteint l'entr\u00e9e","index":1}],"index":6,"id":"notif-7"}}
[2022-02-11 10:31:32][DEBUG] : Send output : 2022/02/11 10:31:32 JSON_PARSING_ERROR: Unexpected token END OF FILE at position 652.
Comportement avec une seule commande :
Log :
[2022-02-11 09:28:55][INFO] : Send notification with data {"type":"DISPLAY_NOTIF","payload":{"cmdId":"6649","title":"test","message":"test","answer":null,"timeout":null,"notificationId":16445681356028,"otherAskCmdId":null,"options":[],"files":[],"time":1644568135,"channel":"default","update":false,"critical":false,"criticalVolume":null,"color":"#0000ff","image":{"source":"user","name":"Logo Jeedom bulle.png"},"actions":[{"type":"cmd","id":"655","name":"Allume l'entr\u00e9e","index":0},{"type":"cmd","id":"657","name":"Eteint entr\u00e9e","index":1}],"index":6,"id":"notif-7"}}
[2022-02-11 09:28:55][INFO] : Error while sending notification
Rien de bloquant bien sûr
Cordialement
Frédéric