I found one annoying issue – when sending only number it crashes.
Crash was easy to fix but unexpected. While converting int to json, Python just convert it to number. I’m not sure if this is a bug or not. But I added additional check.
Lets make an app a little more talkative. When started it prints some useful info:
Config loaded. Starting app TCP port: 5054 Broadcast IP: 192.168.1.255 Broadcast port: 5053 LCDs: Name | Node name | Size | Stream | Type Debug | node-40x4 | 40,4 | + | charlcd Info | rpi1 | 20,4 | + | charlcd damaged | node-2 | 16,2 | - | charlcd