Major changes: - Implement parallel device processing using ThreadPoolExecutor (10 workers) - Add comprehensive error and warning tracking in ReportGenerator - Fix MQTT configuration verification (query Topic/FullTopic directly) - Improve console settings thread safety with locks - Fix UniFi client for UniFi OS API endpoints - Normalize FullTopic handling (strip URL-encoded spaces) - Update network exclude patterns to support wildcards - Add test_unifi_connection.py for debugging UniFi connectivity Performance improvements: - Process devices concurrently for faster execution - Reduced verbose logging during parallel processing Bug fixes: - Handle deprecated.json format correctly (list vs dict) - Fix exclude_patterns matching with partial string support - Fix UniFi API authentication and endpoint paths for UniFi OS 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
112 lines
3.9 KiB
JSON
112 lines
3.9 KiB
JSON
{
|
|
"unifi": {
|
|
"host": "https://192.168.6.1",
|
|
"username": "Tasmota",
|
|
"password": "TasmotaManager12!@",
|
|
|
|
"site": "default",
|
|
"network_filter": {
|
|
"NoT_network": {
|
|
"name": "NoT",
|
|
"subnet": "192.168.8",
|
|
"exclude_patterns": [
|
|
"homeassistant*",
|
|
"*sonos*"
|
|
],
|
|
"unknown_device_patterns": [
|
|
"tasmota_*",
|
|
"tasmota-*",
|
|
"esp-*",
|
|
"ESP-*"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"mqtt": {
|
|
"Host": "homeassistant.NoT.mgeppert.com",
|
|
"Port": 1883,
|
|
"User": "mgeppert",
|
|
"Password": "mgeppert",
|
|
"Topic": "%hostname_base%",
|
|
"FullTopic": "%prefix%/%topic%/",
|
|
"NoRetain": false
|
|
},
|
|
"device_list": {
|
|
"TreatLife_SW_SS01S": {
|
|
"template": "{\"NAME\":\"TL SS01S Swtch\",\"GPIO\":[0,0,0,0,52,158,0,0,21,17,0,0,0],\"FLAG\":0,\"BASE\":18}",
|
|
"console_set": "Traditional"
|
|
},
|
|
"TreatLife_SW_SS02S": {
|
|
"template": "{\"NAME\":\"Treatlife SS02\",\"GPIO\":[0,0,0,0,288,576,0,0,224,32,0,0,0,0],\"FLAG\":0,\"BASE\":18}",
|
|
"console_set": "Traditional"
|
|
},
|
|
"TreatLife_SW_SS02S_Orig": {
|
|
"template": "{\"NAME\":\"Treatlife SS02\",\"GPIO\":[0,0,0,0,289,0,0,0,224,32,0,0,0,0],\"FLAG\":0,\"BASE\":18}",
|
|
"console_set": "Traditional"
|
|
},
|
|
"TreatLife_DIM_DS02S": {
|
|
"template": "{\"NAME\":\"DS02S Dimmer\",\"GPIO\":[0,107,0,108,0,0,0,0,0,0,0,0,0],\"FLAG\":0,\"BASE\":54}",
|
|
"console_set": "Traditional"
|
|
},
|
|
"CloudFree_SW1": {
|
|
"template": "{\"NAME\":\"CloudFree SW1\",\"GPIO\":[0,224,0,32,320,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],\"FLAG\":0,\"BASE\":1}",
|
|
"console_set": "Traditional"
|
|
},
|
|
"Gosund_WP5_Plug": {
|
|
"template": "{\"NAME\":\"Gosund-WP5\",\"GPIO\":[0,0,0,0,17,0,0,0,56,57,21,0,0],\"FLAG\":0,\"BASE\":18}",
|
|
"console_set": "Traditional"
|
|
},
|
|
"Gosund_Plug": {
|
|
"template": "{\"NAME\":\"Gosund-WP5\",\"GPIO\":[0,0,0,0,32,0,0,0,320,321,224,0,0,0],\"FLAG\":0,\"BASE\":18}",
|
|
"console_set": "Traditional"
|
|
},
|
|
"CloudFree_X10S_Plug": {
|
|
"template": "{\"NAME\":\"Aoycocr X10S\",\"GPIO\":[56,0,57,0,21,134,0,0,131,17,132,0,0],\"FLAG\":0,\"BASE\":45}",
|
|
"console_set": "Traditional"
|
|
},
|
|
"Sonoff_S31_PM_Plug": {
|
|
"template": "{\"NAME\":\"Sonoff S31\",\"GPIO\":[17,145,0,146,0,0,0,0,21,56,0,0,0],\"FLAG\":0,\"BASE\":41}",
|
|
"console_set": "Traditional"
|
|
},
|
|
"Sonoff TX Ultimate 1": {
|
|
"template": "{\"NAME\":\"Sonoff T5-1C-120\",\"GPIO\":[0,0,7808,0,7840,3872,0,0,0,1376,0,7776,0,0,224,3232,0,480,3200,0,0,0,3840,0,0,0,0,0,0,0,0,0,0,0,0,0],\"FLAG\":0,\"BASE\":1}",
|
|
"console_set": "SONOFF_ULTIMATE"
|
|
}
|
|
},
|
|
"console_set": {
|
|
"Traditional": [
|
|
"SwitchRetain Off",
|
|
"ButtonRetain Off",
|
|
"PowerRetain On",
|
|
"PowerOnState 3",
|
|
"SetOption1 0",
|
|
"SetOption3 1",
|
|
"SetOption4 1",
|
|
"SetOption13 0",
|
|
"SetOption19 0",
|
|
"SetOption32 8",
|
|
"SetOption40 40",
|
|
"SetOption53 1",
|
|
"SetOption73 1",
|
|
"rule1 on button1#state=10 do power0 toggle endon"
|
|
],
|
|
"SONOFF_ULTIMATE": [
|
|
"SwitchRetain Off",
|
|
"ButtonRetain Off",
|
|
"PowerRetain On",
|
|
"PowerOnState 3",
|
|
"Pixels 32",
|
|
"SetOption1 0",
|
|
"SetOption3 1",
|
|
"SetOption4 1",
|
|
"SetOption13 0",
|
|
"SetOption19 0",
|
|
"SetOption32 8",
|
|
"SetOption40 40",
|
|
|
|
"SetOption53 1",
|
|
"SetOption73 1"
|
|
|
|
]
|
|
}
|
|
} |