Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Moduline 400: Missing holiday settings #1712

Closed
1 task done
sciurius opened this issue Apr 24, 2024 · 15 comments
Closed
1 task done

Moduline 400: Missing holiday settings #1712

sciurius opened this issue Apr 24, 2024 · 15 comments
Labels
bug Something isn't working
Milestone

Comments

@sciurius
Copy link

PROBLEM DESCRIPTION

The Moduline400 thermostat has settings for holidays, however these are not shown in the UI.

Searching the docs and discussions indicate they are implemented by now (3.7.0-dev4).

REQUESTED INFORMATION

{
   "API Info" : {
      "API calls" : 1,
      "API fails" : 0
   },
   "Bus Info" : {
      "bus incomplete telegrams" : 0,
      "bus protocol" : "Buderus",
      "bus reads (tx)" : 83,
      "bus reads failed" : 0,
      "bus rx line quality" : 100,
      "bus status" : "connected",
      "bus telegrams received (rx)" : 255,
      "bus tx line quality" : 100,
      "bus writes (tx)" : 0,
      "bus writes failed" : 0
   },
   "Devices" : [
      {
         "device id" : "0x08",
         "entities" : 76,
         "handlers fetched" : "0x14 0x16 0x33",
         "handlers pending" : "0xBF 0xC2 0x1A 0x35 0x2A 0xD1 0xE3 0xE4 0xE5 0xE9",
         "handlers received" : "0x10 0x11 0x15 0x1C 0x18 0x19 0x34 0x04",
         "name" : "Topline/GB162",
         "product id" : 115,
         "type" : "boiler",
         "version" : "03.06"
      },
      {
         "device id" : "0x10",
         "entities" : 33,
         "handlers fetched" : "0x41 0xA7 0x40 0x3F 0x3A",
         "handlers pending" : "0x12 0x13",
         "handlers received" : "0xA3 0x06 0xA2",
         "name" : "Moduline 400",
         "product id" : 78,
         "type" : "thermostat",
         "version" : "03.01"
      },
      {
         "device id" : "0x09",
         "entities" : 0,
         "name" : "BC10",
         "product id" : 114,
         "type" : "controller",
         "version" : "01.03"
      }
   ],
   "MQTT Info" : {
      "MQTT connects" : 1,
      "MQTT publish fails" : 0,
      "MQTT publishes" : 181,
      "MQTT queued" : 0,
      "MQTT status" : "connected",
      "base" : "ems-esp",
      "clean session" : true,
      "client id" : "ems-esp",
      "discovery prefix" : "homeassistant",
      "discovery type" : 0,
      "enabled" : true,
      "entity format" : 1,
      "ha enabled" : true,
      "keep alive" : 60,
      "mqtt qos" : 0,
      "mqtt retain" : false,
      "nested format" : 1,
      "publish single" : false,
      "publish time boiler" : 10,
      "publish time heartbeat" : 60,
      "publish time mixer" : 10,
      "publish time other" : 10,
      "publish time sensor" : 10,
      "publish time solar" : 10,
      "publish time thermostat" : 10,
      "publish time water" : 10,
      "publish2command" : false,
      "send response" : false
   },
   "NTP Info" : {
      "NTP status" : "connected",
      "enabled" : true,
      "server" : "ntp.squirrel.nl",
      "tz label" : "Europe/Amsterdam"
   },
   "Network Info" : {
      "AP provision mode" : "disconnected",
      "AP security" : "wpa2",
      "AP ssid" : "ems-esp",
      "RSSI" : -60,
      "TxPower setting" : 78,
      "disable sleep" : false,
      "enable CORS" : false,
      "enable IPv6" : true,
      "enable MDNS" : true,
      "hostname" : "ems-esp",
      "low bandwidth" : false,
      "network" : "WiFi",
      "static ip config" : false
   },
   "OTA Info" : {
      "enabled" : true,
      "port" : 8266
   },
   "Sensor Info" : {
      "temperature sensor fails" : 0,
      "temperature sensor reads" : 0,
      "temperature sensors" : 0
   },
   "Settings" : {
      "analog enabled" : false,
      "board profile" : "S32",
      "bool dashboard" : 1,
      "bool format" : 1,
      "dallas parasite" : false,
      "ems bus id" : 11,
      "enum format" : 1,
      "fahrenheit" : false,
      "hide led" : false,
      "locale" : "en",
      "max web log buffer" : 100,
      "notoken api" : true,
      "readonly mode" : false,
      "shower alert" : false,
      "shower timer" : true,
      "telnet enabled" : true,
      "tx mode" : 1,
      "web log buffer" : 15
   },
   "Syslog Info" : {
      "enabled" : true,
      "syslog ip" : "192.168.1.251",
      "syslog level" : "info",
      "syslog queue" : 0,
      "syslog started" : true
   },
   "System Info" : {
      "arduino" : "Tasmota Arduino v2.0.15",
      "free app" : 372,
      "free caps" : 115,
      "free mem" : 165,
      "max alloc" : 107,
      "partition" : "app1",
      "platform" : "ESP32",
      "reset reason" : "Software reset CPU / Software reset CPU",
      "sdk" : "4.4.7.240312",
      "uptime" : "000+00:03:54.172",
      "uptime (seconds)" : 234,
      "used app" : 1612,
      "version" : "3.7.0-dev.4"
   }
}

log.txt

ADDITIONAL CONTEXT

In Settings > Customizations, there are entries for holidays and vacations but these have no values and are not displayed on the dashboard.

scrot20240424114443

Add any other context about the problem here.

(Please, remember to close the issue when the problem has been addressed)

@MichaelDvP
Copy link
Contributor

We expect the holiday and vacation dates in telegram 0x3F, offset 87- 98, but here the telegram ends in offset 86.
RC30Timer(0x3F), data: 90 E7 90 01 00 00 (offset 81)
If the thermostat have such a setting it is stored elsewhere and you need to change it on the thermostat and log the telegrams.

@proddy
Copy link
Contributor

proddy commented Apr 28, 2024

@sciurius could you find out?

@proddy proddy added the question Question about something label Apr 28, 2024
@sciurius
Copy link
Author

sciurius commented Apr 29, 2024

I must admit I am not familiar with this. All I can do is make some changes in the vacation program settings and include the resultant logging. Is it only the RC30Timer messages you are interested in?

BTW: What would be the difference between vacation and holidays? The thermostat only has one setting "Vakantie" (=vacation). holiday dates would imply a list of (national/regional/religious) holidays.

@sciurius sciurius changed the title Molduline 400: Missing holiday settings Moduline 400: Missing holiday settings Apr 29, 2024
@MichaelDvP
Copy link
Contributor

Yes, log all and change the vacation dates on the RC30.

In RC35 vacation is "away from home" (use night temp) and holiday is "at home" (use day temp).

@sciurius
Copy link
Author

sciurius commented Apr 29, 2024

Attached is a logfile fragment consisting of some normal message sequences. I entered a vacation (program 1, from 30.04.24 to 01.05.24) and then the ?(0xA9) messages appeared.

ems1.log

Line ?(0xA9), data: FF 1E 04 18 01 05 18 FF 01 01 00 01 01 00 FF 01 01 00 01 01 00 FF 1E 01 0F 1E 01 has recognizable 1E 04 18 (30 04 24) 01 05 18 (01 01 05).

After setting vacation 2 to 03.05.24-05.05.24 the message becomes:

?(0xA9), data: FF 1E 04 18 01 05 18 FF 03 05 18 05 05 18 FF 01 01 00 01 01 00 FF 1E 01 0F 1E 01

So apparently it is FF day month year day month year FF ...etc... Empty (not set) is 01 01 00 01 01 00.

When cancelling the programs:

Apr 29 21:39:06 ems-esp emsesp 005+10:01:50.523 T 2211: thermostat(0x10) -B-> All(0x00), ?(0xA9), data: FF 01 01 00 01 01 00 FF 03 05 18 05 05 18 FF 01 01 00 01 01 00 FF 1E 01 0F 1E 01
Apr 29 21:39:07 ems-esp emsesp 005+10:01:50.896 T 2212: thermostat(0x10) -B-> All(0x00), ?(0xA9), data: 0F FF 01 01 00 01 01 00 FF 01 01 00 01 01 00 FF 01 01 00 01 01 00 FF 01 01 00 01 (offset 27)
Apr 29 21:39:07 ems-esp emsesp 005+10:01:51.457 T 2213: thermostat(0x10) -B-> All(0x00), ?(0xA9), data: 01 00 1E (offset 54)
Apr 29 21:39:18 ems-esp emsesp 005+10:02:01.897 T 2219: thermostat(0x10) -B-> All(0x00), ?(0xA9), data: FF 01 01 00 01 01 00 FF 01 01 00 01 01 00 FF 01 01 00 01 01 00 FF 1E 01 0F 1E 01
Apr 29 21:39:18 ems-esp emsesp 005+10:02:02.271 T 2220: thermostat(0x10) -B-> All(0x00), ?(0xA9), data: 0F FF 01 01 00 01 01 00 FF 01 01 00 01 01 00 FF 01 01 00 01 01 00 FF 01 01 00 01 (offset 27)
Apr 29 21:39:19 ems-esp emsesp 005+10:02:02.956 T 2222: thermostat(0x10) -B-> All(0x00), ?(0xA9), data: 01 00 1E (offset 54)

@sciurius
Copy link
Author

sciurius commented May 1, 2024

Was this useful? Anything else I can do?

@MichaelDvP
Copy link
Contributor

So you have up to 8 vacation periods. Is it useful to add 8 entities for this? RC30 has only one hc, so we do not run out of memory.
Or add it like the switchtimes, use only one entity with no,command 0:01.05.2024-10.05-2024, etc. and command with single switches the index? For first test i've added only read/write first vacation-period.

@sciurius
Copy link
Author

sciurius commented May 2, 2024

As opposed to switchtimes, vacation periods are explicitly numbered (1..7) so it is probably better to use vacation1, vacation2, ...

MichaelDvP added a commit to MichaelDvP/EMS-ESP32 that referenced this issue May 3, 2024
@sciurius
Copy link
Author

With 3.7.0-dev.10 I can now see and change the vacation dates. Date 4 is missing (typo? glitch?).

scrot20240513134145
scrot20240513134331

MichaelDvP added a commit to MichaelDvP/EMS-ESP32 that referenced this issue May 14, 2024
proddy added a commit that referenced this issue May 14, 2024
@proddy proddy added bug Something isn't working and removed question Question about something labels May 14, 2024
@proddy proddy added this to the v3.7.0 milestone May 14, 2024
@proddy
Copy link
Contributor

proddy commented May 14, 2024

fixed by Michael in dev

@sciurius
Copy link
Author

When I open EMS-ESP via the web page and select the thermostat, the vacation periods have no data.

scrot20240515081649

After a refresh (e.g., Crtl-R), the data is shown.

scrot20240515081705

@proddy
Copy link
Contributor

proddy commented May 15, 2024

all the time?

@sciurius
Copy link
Author

It is not related to the vacation enhancements. Several values from other devices are missing as well, and it seems to affect FireFox only.

I can reproduce this as follows.

Interesting is that when I open the tab and type "http://ems-gw1.squirrel.nl/devices", all values are there.

@sciurius
Copy link
Author

I suspect it is one of my extensions that gets in the way. Let's ignore this for the time being.

@proddy proddy closed this as completed May 15, 2024
@proddy
Copy link
Contributor

proddy commented May 15, 2024

I've opened a new issue anyway, and closing this one.

mheyse pushed a commit to mheyse/EMS-ESP32 that referenced this issue May 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants