* BUG Message data cannot be changed thus use voluptuous to ensure format * Pilight daemon expects JSON serializable data Thus dict is needed and not a mapping proxy. * Add explanation why dict as message data is needed * Use more obvious voluptuous validation scheme * Pylint: Trailing whitespace * Pilight sensor component * Python 3.4 compatibility * D202 * Use pytest-caplog and no unittest.TestCase * Fix setup/teardown of unittests * Activate coverage testing * Bugfix whitelist filter and use bugfixed pilight library * Use newest pilight library that has a bugfix * Add unittest for pilight hub component * PEP257 for docstrings * Bugfix setting device name from host name and small cleanup - Init with connection error handling is more clear - Comments clean-up * PEP257 * New unittest with full coverage * Upload missing testfixtures * D209 * Handle double quotes in reply * Formatting
18 lines
653 B
Text
18 lines
653 B
Text
{lan_mac::AA:BB:CC:DD:EE:F0}
|
|
{lan_ip::192.168.1.1}
|
|
{lan_ip_prefix::192.168.1.}
|
|
{lan_netmask::255.255.255.0}
|
|
{lan_gateway::0.0.0.0}
|
|
{lan_dns::8.8.8.8}
|
|
{lan_proto::dhcp}
|
|
{dhcp_daemon::DNSMasq}
|
|
{dhcp_start::100}
|
|
{dhcp_num::50}
|
|
{dhcp_lease_time::1440}
|
|
{dhcp_leases:: 'device_1','192.168.1.113','AA:BB:CC:DD:EE:00','1 day 00:00:00','113','device_2','192.168.1.201','AA:BB:CC:DD:EE:01','Static','201'}
|
|
{pptp_leases::}
|
|
{pppoe_leases::}
|
|
{arp_table:: 'device_1','192.168.1.113','AA:BB:CC:DD:EE:00','13','device_2','192.168.1.201','AA:BB:CC:DD:EE:01','1'}
|
|
{uptime:: 12:28:48 up 132 days, 18:02, load average: 0.15, 0.19, 0.21}
|
|
{ipinfo:: IP: 192.168.0.108}
|
|
|