# Path: mysensors/mysensors.py



import logging
from mysensors import mysensors
"""Example for using pymysensors."""


logging.basicConfig(level=logging.DEBUG)


def event(message):
    """Handle mysensors updates."""
    print("sensor_update " + str(message.node_id))


# To create a serial gateway.

# Path: mysensors/mysensors.py



# Path: main.py
import logging
from mysensors import mysensors

"""Example for using pymysensors."""


logging.basicConfig(level=logging.DEBUG)


def event(message):
    """Handle mysensors updates."""
    print("sensor_update " + str(message.node_id))


# To create a serial gateway.

GATEWAY = mysensors.SerialGateway(