Jump to content

Roku TCL Tv's not creating nodes in ISY - special char in name (")


BillB66

Recommended Posts

Posted

Guessing the " needs to be escaped.  When I tried to created manually on the ISY with the " in the name gave ISY gave a Bad Request.  I do see the nodes under the  node server.

55" TCL Roku TV - 7125x

2022-10-14 17:38:59,066 MainThread udi_interface ERROR roku:updateNode: Is TV = True
2022-10-14 17:38:59,067 MainThread udi_interface ERROR roku:updateNode: Adding Roku TV node 81739

image.thumb.png.dc45f97069284a5110519df4904e0507.png

32" TCL Roku TV - 8116x

2022-10-14 17:39:13,059 MainThread udi_interface      ERROR    roku:updateNode: Is TV = True
2022-10-14 17:39:13,060 MainThread udi_interface      ERROR    roku:updateNode: Adding Roku TV node 30106

image.thumb.png.ed03b1a2d46af9c981ca3f4ffb559323.png

All the non TV Rokus did not have an issue (7)

image.thumb.png.a2ab64dcc47afc25dac112e2d29c60c8.png

Posted

It doesn't need to be escaped, it needs to be removed. The quote (") is not a valid character for a node name.

  • Like 1
Posted (edited)

Sounds good.  Yell when it is fixed and I will update. In the meantime I created the node manually.  Looking at the code, I already see special handling for &, is there a regex of valid chars for node name somewhere?  

https://github.com/BME-node servers/udi-roku-poly/blob/master/nodes/roku.py#L78

 

Also if you are in there, I see a lot of Error spam on application

2022-10-16 12:37:03,818 Thread-311584 udi_interface      ERROR    roku_node:update_status: App id 0 is not mapped to an appliction.
2022-10-16 12:37:03,831 Thread-311579 udi_interface      ERROR    roku_node:update_status: App id 562859 is not mapped to an appliction.

 

Edited by BillBinAz
Guest
This topic is now closed to further replies.

×
×
  • Create New...