testsuite requirements

This commit is contained in:
Edwin Eefting
2018-01-12 01:40:20 +01:00
parent 5796f50439
commit 2bf31a1985
4 changed files with 22 additions and 10 deletions
+1 -1
View File
@@ -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
View File
@@ -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
View File
@@ -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
View File
@@ -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)