mirror of
https://github.com/letscontrolit/ESPEasy.git
synced 2026-07-28 04:07:47 +00:00
testsuite requirements
This commit is contained in:
+1
-1
@@ -8,7 +8,7 @@ import paho.mqtt.client as mqtt
|
||||
import json
|
||||
import bottle
|
||||
import threading
|
||||
from Queue import Queue, Empty
|
||||
from queue import Queue, Empty
|
||||
from espcore import *
|
||||
|
||||
|
||||
|
||||
+7
-3
@@ -2,9 +2,13 @@
|
||||
|
||||
from esptest import *
|
||||
|
||||
#node0 sends a pulse on a pin
|
||||
#p001 on node on picks it up
|
||||
#send it to domoticz via mqtt
|
||||
# hardware requirements:
|
||||
# - node 0
|
||||
# - node 1
|
||||
# - D6 connected to eachother
|
||||
|
||||
# tests:
|
||||
# - pulsing the node0 pin and picking it up on node1 which sends it via domoticz mqtt
|
||||
|
||||
espeasy[1].controller_domoticz_mqtt(index=1, controllerip=config.mqtt_broker)
|
||||
espeasy[1].device_p001(index=1, taskdevicepin1=12, plugin_001_type=1, plugin_001_button=0, TDID1=1415)
|
||||
|
||||
+8
-4
@@ -1,10 +1,14 @@
|
||||
#!/usr/bin/env python2
|
||||
#!/usr/bin/env python3
|
||||
|
||||
from esptest import *
|
||||
|
||||
#node0 has 2x ds18b20
|
||||
#values are send to domoticz via http
|
||||
#values are send to domoticz via mqtt
|
||||
# hardware requirements:
|
||||
# - node 0
|
||||
# - 2x ds18b12 connected to D4
|
||||
|
||||
# tests:
|
||||
# - correct values are send to domoticz via http
|
||||
# - correct values are send to domoticz via mqtt
|
||||
|
||||
|
||||
### config mqtt and the 2 devices
|
||||
|
||||
+6
-2
@@ -2,7 +2,11 @@
|
||||
|
||||
from esptest import *
|
||||
|
||||
#node0 has a framed OLED display (p036)
|
||||
#no verification is done yet.
|
||||
# hardware requirements:
|
||||
# - node 0
|
||||
# - framed oled display connected to default I2C
|
||||
|
||||
# tests:
|
||||
# - only configures it, nothing is verfied yet
|
||||
|
||||
espeasy[0].device_p036(index=1)
|
||||
|
||||
Reference in New Issue
Block a user