A repository for MicroPython code that communicates with and relays information from the Texas Instruments TMP117/119 temperature sensor.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

36 lines
831 B

2 months ago
  1. [
  2. {
  3. "micro_id": 1000000000000000,
  4. "wifi_or_usb": "usb",
  5. "temperature_topic": "TEMPERATURE TOPIC",
  6. "inbound_topic": "INBOUND TOPIC",
  7. "network_settings":{
  8. "ssid": "SSID",
  9. "wifi_pw": "PASSWORD",
  10. "mqtt_server": "IP ADDRESS",
  11. "mqtt_port": 1883,
  12. "mqtt_queue_length": 4
  13. },
  14. "i2c_buses":[
  15. {
  16. "name": "EG I2C",
  17. "scl": 1,
  18. "sda": 0,
  19. "freq": 400000,
  20. "hard_i2c": true,
  21. "hard_i2c_bus": 0
  22. }
  23. ],
  24. "sensors":[
  25. {
  26. "name": "EG SENSOR",
  27. "i2c_name": "EG I2C",
  28. "i2c_addr": 72,
  29. "config": 544
  30. }
  31. ]
  32. }
  33. ]