Nicu Hodos 69554f441a use private serial reader library
array is no longer needed:
- reduce json from 512 to 100
- no need for trailing comma
- no need to use []
2023-01-21 19:18:23 +01:00
..
2020-11-04 22:12:38 +01:00
2023-01-21 19:18:23 +01:00
2022-10-28 09:00:18 +02:00
2020-11-04 22:12:38 +01:00

A gateway for 433 MHz devices

It uses rc_switch library for controlling wall sockets.

It also supports receiving commands from the same protocol.

It acts as a serial gateway and it is connected to a Raspberry Pi running Home assistant.

It uses an Arduino Pro Mini 5v 16 Mhz. The original bootloader has been replaced with Optiboot using this tutorial: https://andreasrohner.at/posts/Electronics/How-to-make-the-Watchdog-Timer-work-on-an-Arduino-Pro-Mini-by-replacing-the-bootloader/

Read sensors

DHT

{
  "dht11": {
    "temperature": 31.9,
    "humidity": 45
  }
}

RC Switch

on

[
  {
    "rcSwitch": {
      "protocol": 1,
      "group": "00001",
      "channel": 1,
      "state": true
    }
  }
]

off

[
  {
    "rcSwitch": {
      "protocol": 1,
      "group": "00001",
      "channel": 1,
      "state": false
    }
  }
]
[
  {
    "rcSwitch": {
      "protocol": 2,
      "value": "10011110000000000001110101111001"
    }
  }
]