Proxy LCD Bundle
Symfony3 handler for Proxy LCD project.
Hooks to dump() and send content to Proxy LCD.
Works nicely in docker., (*1)
Displays only strings so arrays(one- or multi-dimensional) are transformed to string, object are transformed to id and name., (*2)
Read more @ https://koscis.wordpress.com/tag/proxy-lcd/, (*3)
, (*4)
Parts of this project:, (*5)
NodeHD44780 - remote lcd, (*6)
, (*7)
Proxy LCD desktop app, (*8)
, (*9)
Installation
"require-dev": {
"kosci/proxy-lcd-bundle": "dev-master"
}
AppKernel:, (*10)
new Kosci\Bundle\ProxyLCDBundle\KosciProxyLCDBundle(),
Default configuration
kosci_proxy_lcd:
proxy_ip: localhost
proxy_port: 5054
clear_on_request: true
request_length: 10
dump:
enabled: false
mode: stream
Without setting an IP bundle is disabled. Only mode stream available for now.
For docker env set host IP., (*11)
The clear_on_request sets if LCD is cleared on request.
To prevent clearing on multiple short requests we can set request_length.
This sets a delay (in seconds) between request before it is considered a new request., (*12)
Minimal configuration:, (*13)
kosci_proxy_lcd:
proxy_ip: 192.168.1.102
dump:
enabled: true
Sample output
['one', 'two', 'eleven'] => [one,two,eleven]
[
'one' => 'zombie',
'two' => 'zombies',
'eleven' => 'abnominations'
] => [one:zombie,two:zombies,eleven:abnominations]
[
'one' => [
'one', 'two'
],
'two' => [
'zombies' => 'no',
'humans' => 'yes',
],
'eleven' => 'abnominations'
] => [one:[one,two],two:[zombies:no,humans:yes],eleven:abnominations]
$input = new ItemWithName(12) => {ItemWithName:12:name}