Skip to content

Commit

Permalink
V 4.43
Browse files Browse the repository at this point in the history
  • Loading branch information
InnuendoPi committed Mar 1, 2023
1 parent c604cf0 commit df3bb56
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 7 deletions.
11 changes: 6 additions & 5 deletions 7_WEB.ino
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ void mqttcallback(char *topic, unsigned char *payload, unsigned int length)
// Serial.print("Web: Payload: ");
// for (int i = 0; i < length; i++)
// {
// Serial.print((char)payload[i]);
// Serial.print((char)payload[i]);
// }
// Serial.println(" ");

Expand All @@ -102,6 +102,7 @@ void mqttcallback(char *topic, unsigned char *payload, unsigned int length)
if (actors[i].argument_actor == topic)
{
actors[i].handlemqtt(payload_msg);
// Serial.printf("Actor payload received %s\n", actors[i].argument_actor.c_str());
return;
}
}
Expand All @@ -118,28 +119,28 @@ void mqttcallback(char *topic, unsigned char *payload, unsigned int length)
p = strstr(topic, kettleupdate);
if (p)
{
// DEBUG_MSG("%s\n", "Web: kettleupdate");
DEBUG_MSG("%s\n", "Web: kettleupdate");
cbpi4kettle_handlemqtt(payload_msg);
return;
}
p = strstr(topic, stepupdate);
if (p)
{
// DEBUG_MSG("%s\n", "Web: stepsupdate");
DEBUG_MSG("%s\n", "Web: stepsupdate");
cbpi4steps_handlemqtt(payload_msg);
return;
}
p = strstr(topic, notificationupdate);
if (p)
{
// DEBUG_MSG("%s\n", "Web: notificationupdate");
DEBUG_MSG("%s\n", "Web: notificationupdate");
cbpi4notification_handlemqtt(payload_msg);
return;
}
p = strstr(topic, sensorupdate);
if (p)
{
// DEBUG_MSG("%s\n", "Web: sensorupdate");
DEBUG_MSG("%s\n", "Web: sensorupdate");
cbpi4sensor_handlemqtt(payload_msg);
return;
}
Expand Down
4 changes: 2 additions & 2 deletions MQTTDevice4.ino
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ extern "C"
#endif

// Version
#define Version "4.42"
#define Version "4.43"

// System Dateien
#define UPDATESYS "/updateSys.txt"
Expand Down Expand Up @@ -155,7 +155,7 @@ bool devBranch = false; // Check out development branch
// Event handling Zeitintervall für Reconnects WLAN und MQTT
#define tickerWLAN 30000 // für Ticker Objekt WLAN in ms
#define tickerMQTT 30000 // für Ticker Objekt MQTT in ms
#define tickerPUSUB 1000 // Ticker PubSubClient
#define tickerPUSUB 10 // Ticker PubSubClient

// Event handling Standard Verzögerungen
unsigned long wait_on_error_mqtt = 120000; // How long should device wait between tries to reconnect WLAN - approx in ms
Expand Down
Binary file modified build/MQTTDevice4.ino.bin
Binary file not shown.
Binary file modified build/MQTTDevice4.mklittlefs.bin
Binary file not shown.
Binary file modified tools/Firmware.zip
Binary file not shown.
Binary file modified tools/MQTTDevice4.ino.bin
Binary file not shown.
Binary file modified tools/MQTTDevice4.mklittlefs.bin
Binary file not shown.

0 comments on commit df3bb56

Please sign in to comment.