Node Lights Out

Uit MakerSpace Leiden
Naar navigatie springen Naar zoeken springen
De printervriendelijke versie wordt niet langer ondersteund en kan weergavefouten bevatten. Werk uw browserbladwijzers bij en gebruik de gewone afdrukfunctie van de browser.


Lichten node/verklikker

OLIMEX PoE gebaseerde node die kijkt naar de 3 AC netten van het licht.

Wiring and technical data

The 6 screw terminals are Optocoupler detect (2x3) of AC.

All 3 expect AC/230 volt. The RED led on the front is the 'AartLED'.

Code in [[1]]/

Current mac address is 3C:71:BF:10:62:A7 -- wired to the top patch panel, port 23. It is currently connected by a yellow cable to the top switch; port 23 (auto-negotiation, no further settings)

Opto electronics

Wiring of the 3 opto couplers

Typical log

AC1 to AC3 are the OPTO couplers state; True is off (there is a pull up at work), False is AC voltage detected.

    {
      "node": "lights",
      "machine": "lights",
      "maxMqtt": 768,
      "id": "a46210bf713c",
      "ip": "192.168.3.173",
      "net": "UTP",
      "mac": "3C:71:BF:10:62:A7",
      "beat": 0,
      "approve": 0,
      "deny": 0,
      "requests": 0,
      "cache_hit": 0,
      "cache_miss": 0,
      "mqtt_reconnects": 1,
      "loop_rate": 11137.78,
      "coreTemp": 72.22222,
      "heap_free": 223272,
      "state": "Powered - no lights",
      "powered_time": 1195,
      "running_time": 0,
      "ota": true,
      "acstate1": true,
      "acstate2": true,
      "acstate3": true
   }