Configuration defaults
DEFAULTS = {
'server' : {
'host' : '0.0.0.0',
'port' : 10500,
'log_file' : '/tmp/alarmserver.log',
'pid_file' : '/tmp/alarmserver.pid',
},
'alarm' : {
'polling_interval' : 2,
'max_misses' : 1,
'account_file' : '/etc/alarmserver/accounts.conf'
},
'mqtt' : {
'host' : '127.0.0.1',
'port' : 1883,
'username' : None,
'password' : None,
'cafile' : None
from working python script , the gent mentioned in the above link has a server and client on git hub , im trying to mimick the server on esp8266.