Comments (25)
I think using bool as on/off is better, but with we have only 1=on/0=off, so we have to find a name that makes clear the option on/true/1 shuts the heatpump down. What about shutdown
as name?
from ems-esp32.
Yes it is, i've found the typo in the shutdown registering. Will push a new build.
from ems-esp32.
Much better, thanks @MichaelDvP :)
Shutdown also works, on= shuts down the pump and off= turns it on. :)
from ems-esp32.
Shutdown is fine.
Not possible to invert bool, I mean like have a tag in ems-esp that you want to invert it? Maybe only for one situation it's too much work. Of course I can always do that in hass... so for me it's not a big deal.
from ems-esp32.
@MichaelDvP we could ENUM as a new type, with a list of options, in this case it would be '1, 0'
from ems-esp32.
Not possible to invert bool,
Sure, we can add a new type BOOL_INV, but is it worth for a single entity?
we could ENUM as a new type
Yes, this should work, but still a bit confusing when using enum as number option, then it's the only entity with on=0.
Also i think power_onoff
is not a good name, it's not switching the power, it just stops the pump. For modules we have always the enable
entity, maybe here we can use disable
?
@mattfro What is the Bosch name in manual and UI of the thermostat for this option?
from ems-esp32.
Not possible to invert bool,
Sure, we can add a new type BOOL_INV, but is it worth for a single entity?
Yeah, that is the question :)
Yes, this should work, but still a bit confusing when using enum as number option, then it's the only entity with on=0. Also i think
power_onoff
is not a good name, it's not switching the power, it just stops the pump. For modules we have always theenable
entity, maybe here we can usedisable
? @mattfro What is the Bosch name in manual and UI of the thermostat for this option?
Hmm... bosch name in manual, what thermostat option are you thinking about? Not sure If I understand what you mean...
Are you talking what it's called when I turn off the pump?
If that is the case, it's: "Turn off the heatpump" and then when it's turned off, it ask "turn on the heatpump?"
from ems-esp32.
it's: "Turn off the heatpump" and then when it's turned off, it ask "turn on the heatpump?"
Changing the entity name is not possible for us, this will give a lot of issues with homeassistant. I prefere a bool state with name disable
or shutdown
, what is your preference or suggestion? Also you can rename the entity later in the customization., but for a bool the state on
will be send a one to the bus and stops the heatpump.
from ems-esp32.
I don't really have any preference as long as I know what it does :) Bool is fine by me also and name shutdown as you mention is fine.
Here is how it looks like, In Swedish, basically: Shut down heatpump
And the next, Turn off(No/Yes), When heatpump is turned off, heatpump and display will turn off. In off state the antifreeze??prevention is going to be off. To reactivate it touch the display.
Something like that :)
So when it's off, similar window will popup and ask if you want to start the heatpump(yes/no)
from ems-esp32.
So will this be in, in 3.7?
In that case we can close this ticket...
I can see shutdown entity, but it's hidden. I guess it's because it has no value or am I mistaken?
Found when using customize entity
from ems-esp32.
Entities were initially designed in EMS-ESP for both reading and/or writing. Then we introduced commands like 'reset'. In this case the shutdown is a command (there is no value to read).
@MichaelDvP shall we introduce a new type in the WebUI for commands (DeviceValueType::CMD
)?
from ems-esp32.
It is in 3.7dev and telegram 484 is fetched and has other values. It is not a command telegram. The value should show up.
@proddy For DeviceValueType::CMD we need to know the byte length. Custom entities show in dashboard when writeable, also without value to match such a case we need a cmd only.
from ems-esp32.
@mattfro are you still not seeing a value for hpshutdown ?
from ems-esp32.
@proddy yep...
from ems-esp32.
@MichaelDvP what shall we do here? It looks like shutdown is an entity with no value set, so it can't be invoked.
from ems-esp32.
We can change the type to DeviceValueType::CMD
from ems-esp32.
@MichaelDvP I tried your latest build, it just seems to restart all the time. The one you build 10-15 min ago.
from ems-esp32.
Can not reproduce, downloaded both bin-files (esp32 and esp32S3) from github and flashed them, both working here.
Try power-on-reset. If not successful check with serial terminal the boot messages.
from ems-esp32.
Did not see anything else the few seconds I have... only something about ipv6.
If I manage to load the official dev.10 it works again. Need to see if I can get serial connection...
it just reboot's without any information.
and not sure, if it matters but I don't have ipv6 in my network.
from ems-esp32.
Seems to work when it's not connected to the pump...
Did not have a laptop that I could use so I disconnected it and connected it to a stationary pc.
�[0m�[0;92m�[1mems-esp�[0m:$ ESP-ROM:esp32s3-20210327
Build:Mar 27 2021
rst:0xc (RTC_SW_CPU_RST),boot:0x8 (SPI_FAST_FLASH_BOOT)
Saved PC:0x40377b18
SPIWP:0xee
mode:DIO, clock div:1
load:0x3fce3808,len:0x39c
load:0x403c9700,len:0x9bc
load:0x403cc700,len:0x28dc
SHA-256 comparison failed:
Calculated: 9477899d59fa5164e630d8218cb3994031873358e9105b31f53911d2dfd36c72
Expected: ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
Attempting to boot anyway...
entry 0x403c98c0
E (516) esp_core_dump_flash: No core dump partition found!
E (516) esp_core_dump_flash: No core dump partition found!
┌──────────────────────────────────────────┐
│ �[1mEMS-ESP version 3.7.0-dev.10�[22m │
│ │
│ �[4mhelp�[0m to show available commands │
│ �[4msu�[0m to access admin commands │
│ │
│ �[0;92m�[4mhttps://github.com/emsesp/EMS-ESP32�[0m │
│ │
└──────────────────────────────────────────┘
�[0;92m�[1mems-esp�[0m:$ [ 762][E][Preferences.cpp:42] begin(): nvs_flash_init_partition failed: OTHER
[ 764][E][vfs_api.cpp:105] open(): /littlefs/tmp_upload does not exist, no permits for creation
�[0G�[K000+00:00:00.000 I 0: [shell] �[0;33mUser session opened on console ttyS0
�[0m000+00:00:00.000 I 1: [emsesp] �[0;33mStarting EMS-ESP version 3.7.0-dev.10 from partition app1
�[0m000+00:00:00.000 I 2: [emsesp] �[0;33mLast system reset reason Core0: Software reset CPU, Core1: Software reset CPU
�[0m000+00:00:00.000 I 3: [emsesp] �[0;33mLoading board profile S32S3
�[0m000+00:00:00.000 I 4: [emsesp] �[0;33mStarting Scheduler service
�[0m000+00:00:00.000 I 5: [emsesp] �[0;33mStarting Custom Entity service
�[0m000+00:00:00.000 I 6: [temperaturesensor] �[0;33mStarting Temperature Sensor service
�[0m000+00:00:00.000 I 7: [emsesp] �[0;33mLoaded EMS device library (120 records)
�[0m�[0;92m�[1mems-esp�[0m:$ �[0G�[K000+00:00:02.716 I 8: [emsesp] �[0;33mSetting WiFi Tx Power to 11.0 dBm
�[0m�[0;92m�[1mems-esp�[0m:$ �[0G�[K000+00:00:02.734 I 9: [emsesp] �[0;33mWiFi connected (IP=192.168.1.63, hostname=ems-esp, TxPower=11.0 dBm)
�[0m�[0;92m�[1mems-esp�[0m:$ �[0G�[K000+00:00:02.758 I 10: [emsesp] �[0;33mStarting mDNS Responder service
�[0m000+00:00:02.758 I 11: [emsesp] �[0;33mStarting NTP service
�[0m�[0;92m�[1mems-esp�[0m:$ �[0G�[K000+00:00:02.834 I 12: [mqtt] �[0;33mMQTT connected
�[0m�[0;92m�[1mems-esp�[0m:$ �[0G�[K000+00:00:04.571 I 13: [emsesp] �[0;33mLocalIPv6=fe80:0000:0000:0000:eeda:3bff:fe46:9464
�[0m�[0;92m�[1mems-esp�[0m:$ �[0G�[K000+00:00:07.571 I 14: [emsesp] �[0;33mLocalIPv6=fe80:0000:0000:0000:eeda:3bff:fe46:9464
from ems-esp32.
it's either an out of bounds error or out of memory error that is causing the EMS-ESP to crash and restart.
from ems-esp32.
Looks like normal boot, i can not see a reboot with stack registers.
Does the crash happen after the 7 sec uptime?
Could only be the register of bool CMD shutdown
, have to check, my boiler does not have this entity.
from ems-esp32.
yes it looks exactly like that... it would just be a reboot without any reason. It's no exactly 7 seconds, sometimes a bit longer sometimes shorter. @MichaelDvP could you make a new build without shutdown of the latest? Just to be sure it's not that. Which is a bit strange if it would cause it to reboot.
from ems-esp32.
So, it's time to close this one also then? ;)
from ems-esp32.
yes!
from ems-esp32.
Related Issues (20)
- Devices tab - count of entities in different column HOT 3
- HA MQTT: climate entity id's are language dependend HOT 8
- API: Post/Put does not change http Get values immediately for thermostat/dhw entities - just on next telegram read HOT 7
- [3.7.0-dev.32] virtual remote w/ RC220 HOT 5
- Heatpump with BC400/RC220 DHW mode and Energiemanager HOT 4
- Feature: Dashboard showing all data (favourites, sensors, custom) HOT 1
- Can't upgrade from 3.6.4 to 3.6.5 HOT 5
- Heatpump WLW186 with BC400/RC220 and failure message HOT 3
- Low memory error HOT 13
- module doesnt restart HOT 6
- Regression: "exit" command does not work in standalone builds any more HOT 8
- Sporadic restarts since dev.33 HOT 10
- many MQTT failures after update to dev-29+ HOT 31
- hc1 temporary set temperature from remote not writeable anymore. HOT 4
- Compressor cycles on/off during hot water operation after installation of EMS-ESP HOT 4
- Numbering of dev release HOT 1
- HM200 / Missing Enegery Meters in v3.6.5 HOT 10
- CS6800: Pump Differentiation between 'Primary' and 'Heating' Circuit HOT 14
- Feature: use Home Assistant
- FW120 : report wrong value for room influence factor HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ems-esp32.