Last active
November 3, 2019 22:03
-
-
Save DurandA/36b571f94af6ad43722e1cf539e86857 to your computer and use it in GitHub Desktop.
esp32-ble2mqtt config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"wifi": { | |
"ssid": "eduroam", | |
"eap": { | |
"method": "PEAP", | |
"ca_cert": "/certs/QuoVadis_Root_CA_2.pem", | |
"username": "MY_USERNAME", | |
"password": "MY_PASSWORD" | |
} | |
}, | |
"mqtt": { | |
"server": { | |
"host": "mqtt.thing.zone", | |
"port": 1883, | |
"username": "MY_USERNAME", | |
"password": "MY_PASSWORD" | |
}, | |
"publish": { | |
"retain": false | |
} | |
}, | |
"ble": { | |
"whitelist": [ | |
"aa:bb:cc:dd:ee:ff" | |
], | |
"services": { | |
"whitelist": [ | |
"ef680200-9b35-4933-9b10-52ffa9740042", | |
"ef680300-9b35-4933-9b10-52ffa9740042", | |
"ef680500-9b35-4933-9b10-52ffa9740042", | |
"0000ffe0-0000-1000-8000-00805f9b34fb" | |
], | |
"definitions": { | |
"ef680100-9b35-4933-9b10-52ffa9740042": { | |
"name": "Thingy Configuration Service" | |
}, | |
"ef680200-9b35-4933-9b10-52ffa9740042": { | |
"name": "Thingy Environment Service" | |
}, | |
"ef680300-9b35-4933-9b10-52ffa9740042": { | |
"name": "Thingy User Interface Service" | |
}, | |
"ef680400-9b35-4933-9b10-52ffa9740042": { | |
"name": "Thingy Motion Service" | |
}, | |
"ef680500-9b35-4933-9b10-52ffa9740042": { | |
"name": "Thingy Sound Service" | |
} | |
} | |
}, | |
"characteristics": { | |
"whitelist": [ | |
"ef680101-9b35-4933-9b10-52ffa9740042", | |
"ef680201-9b35-4933-9b10-52ffa9740042", | |
"ef680202-9b35-4933-9b10-52ffa9740042", | |
"ef680203-9b35-4933-9b10-52ffa9740042", | |
"ef680204-9b35-4933-9b10-52ffa9740042", | |
"ef680205-9b35-4933-9b10-52ffa9740042", | |
"ef680301-9b35-4933-9b10-52ffa9740042", | |
"ef680302-9b35-4933-9b10-52ffa9740042", | |
"ef680501-9b35-4933-9b10-52ffa9740042", | |
"ef680502-9b35-4933-9b10-52ffa9740042" | |
], | |
"definitions": { | |
"ef680101-9b35-4933-9b10-52ffa9740042": { | |
"name": "Thingy Name Characteristic", | |
"types": [ | |
"utf8s" | |
] | |
}, | |
"ef680201-9b35-4933-9b10-52ffa9740042": { | |
"name": "Thingy Temperature Characteristic", | |
"types": [ | |
"sint8", | |
"uint8" | |
] | |
}, | |
"ef680202-9b35-4933-9b10-52ffa9740042": { | |
"name": "Thingy Pressure Characteristic", | |
"types": [ | |
"sint32", | |
"uint8" | |
] | |
}, | |
"ef680203-9b35-4933-9b10-52ffa9740042": { | |
"name": "Thingy Humidity Characteristic", | |
"types": [ | |
"uint8" | |
] | |
}, | |
"ef680204-9b35-4933-9b10-52ffa9740042": { | |
"name": "Thingy Air Quality Characteristic", | |
"types": [ | |
"uint16", | |
"uint16" | |
] | |
}, | |
"ef680205-9b35-4933-9b10-52ffa9740042": { | |
"name": "Thingy Light Intensity Characteristic", | |
"types": [ | |
"uint16", | |
"uint16", | |
"uint16", | |
"uint16" | |
] | |
}, | |
"ef680301-9b35-4933-9b10-52ffa9740042": { | |
"name": "Thingy LED Characteristic", | |
"types": [ | |
"uint8", | |
"uint8", | |
"uint8", | |
"uint8" | |
] | |
}, | |
"ef680302-9b35-4933-9b10-52ffa9740042": { | |
"name": "Thingy Button Characteristic", | |
"types": [ | |
"boolean" | |
] | |
}, | |
"ef680501-9b35-4933-9b10-52ffa9740042": { | |
"name": "Thingy Sound Configuration Characteristic", | |
"types": [ | |
"uint8", | |
"uint8" | |
] | |
}, | |
"ef680502-9b35-4933-9b10-52ffa9740042": { | |
"name": "Thingy Speaker Data Characteristic", | |
"types": [ | |
"uint8" | |
] | |
} | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment