Little tweaks in ProxyLCD

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:
Broadcast port:  5053
Name       | Node name  | Size    | Stream | Type
Debug      | node-40x4  | 40,4    | +      | charlcd
Info       | rpi1       | 20,4    | +      | charlcd
damaged    | node-2     | 16,2    | -      | charlcd

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s