2019-07-09 22:01:39 +02:00
|
|
|
import sys
|
|
|
|
|
|
|
|
from .base import Sensor
|
|
|
|
from .config import load_config
|
|
|
|
|
2019-07-23 21:19:24 +02:00
|
|
|
if sys.implementation.name == 'micropython':
|
2019-07-09 22:01:39 +02:00
|
|
|
from .esp_sensors import *
|
|
|
|
elif getattr(sys.implementation, '_multiarch') == 'arm-linux-gnueabihf':
|
|
|
|
from .pi_sensors import *
|
|
|
|
from .misc_sensors import *
|