Switch v2 to emr
This commit is contained in:
parent
d0a721054c
commit
2c1eb82f36
@ -4,10 +4,10 @@
|
|||||||
ROOT_PATH="/srv/hestia"
|
ROOT_PATH="/srv/hestia"
|
||||||
EMR_FOLDER="src/_EMR"
|
EMR_FOLDER="src/_EMR"
|
||||||
MQTT_HOST="192.168.0.12"
|
MQTT_HOST="192.168.0.12"
|
||||||
IGN_TOPIC="hestia/v2/igniter"
|
IGN_TOPIC="hestia/emr/igniter"
|
||||||
EXH_TOPIC="hestia/v2/exhaust"
|
EXH_TOPIC="hestia/emr/exhaust"
|
||||||
AUG_TOPIC="hestia/v2/auger"
|
AUG_TOPIC="hestia/emr/auger"
|
||||||
FR_TOPIC="hestia/v2/feed-rate"
|
FR_TOPIC="hestia/emr/feed-rate"
|
||||||
|
|
||||||
# Loop
|
# Loop
|
||||||
while true; do
|
while true; do
|
||||||
|
@ -73,20 +73,20 @@ module.exports = {
|
|||||||
topic: config.mqtt.topics.startup
|
topic: config.mqtt.topics.startup
|
||||||
};
|
};
|
||||||
|
|
||||||
this.v2igniter = {
|
this.emrIgniter = {
|
||||||
topic: config.mqtt.topics.v2igniter
|
topic: config.mqtt.topics.emrIgniter
|
||||||
};
|
};
|
||||||
|
|
||||||
this.v2exhaust = {
|
this.emrExhaust = {
|
||||||
topic: config.mqtt.topics.v2exhaust
|
topic: config.mqtt.topics.emrExhaust
|
||||||
};
|
};
|
||||||
|
|
||||||
this.v2auger = {
|
this.emrAuger = {
|
||||||
topic: config.mqtt.topics.v2auger
|
topic: config.mqtt.topics.emrAuger
|
||||||
};
|
};
|
||||||
|
|
||||||
this.v2feedRate = {
|
this.emrFeedRate = {
|
||||||
topic: config.mqtt.topics.v2feedRate
|
topic: config.mqtt.topics.emrFeedRate
|
||||||
};
|
};
|
||||||
|
|
||||||
this.shutdown = {
|
this.shutdown = {
|
||||||
|
@ -8,10 +8,10 @@
|
|||||||
"vacuum": "hestia/status/vacuum",
|
"vacuum": "hestia/status/vacuum",
|
||||||
"startup": "hestia/command/startup",
|
"startup": "hestia/command/startup",
|
||||||
"shutdown": "hestia/command/shutdown",
|
"shutdown": "hestia/command/shutdown",
|
||||||
"v2igniter": "hestia/v2/igniter",
|
"emrIgniter": "hestia/emr/igniter",
|
||||||
"v2exhaust": "hestia/v2/exhaust",
|
"emrExhaust": "hestia/emr/exhaust",
|
||||||
"v2auger": "hestia/v2/auger",
|
"emrAuger": "hestia/emr/auger",
|
||||||
"v2feedRate": "hestia/v2/feed-rate"
|
"emrFeedRate": "hestia/emr/feed-rate"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"states": {
|
"states": {
|
||||||
@ -21,10 +21,10 @@
|
|||||||
"auger",
|
"auger",
|
||||||
"pof",
|
"pof",
|
||||||
"vacuum",
|
"vacuum",
|
||||||
"v2igniter",
|
"emrIgniter",
|
||||||
"v2exhaust",
|
"emrExhaust",
|
||||||
"v2auger",
|
"emrAuger",
|
||||||
"v2feedRate"
|
"emrFeedRate"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"pins": [
|
"pins": [
|
||||||
|
Loading…
Reference in New Issue
Block a user