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

Controlling STC1000p with COM over internet (by writting to EEPROM) #104

Open
sveco86 opened this issue Nov 1, 2018 · 3 comments
Open

Comments

@sveco86
Copy link

sveco86 commented Nov 1, 2018

I am running v.1.09 with Communication on my STC1000p. I plugged ESP8266 to controller which is reading current state of controller by reading EEPROM (and publishing values to MQTT).
I want also to control the STC by writing directly to EEPROM (changing profiles and running profiles and changing SP in Th mode).
Unfortunately, even I change (write) values in EEPROM (e.g. profile number to run (0-6) to EEPROM address 123), nothing happens... Profile runs only when I manually enter menu Set->rn and leave from it OR when I restart STC.
Is it possible to implement few changes?

  1. Read config every time when EEPROM address 123 is changed and run profile.
  2. When STC is in Th mode, every 1 minute read SP (in EEPROM address 114) and run thermostat according to this value?
@sveco86 sveco86 changed the title Controlling STC1000p with COM over internet Controlling STC1000p with COM over internet (by writting to EEPROM) Nov 1, 2018
@sveco86 sveco86 mentioned this issue Nov 29, 2018
@kokangit
Copy link

Oh, what a brilliant idea! Please publish your changes, I'd like to control my STC's with ESP8266.

@matsstaff
Copy link
Owner

I'm not 100% sure from the description what you are having problems with...

One thing to check is that the EEPROM addresses really are correct. EEPROM layout might have changed in some release and I may have forgotten to update the COM sketch.... I just don't remember since it's been a while :)
I think most changes to EEPROM really should take effect (as long as the correct address is used), I've tried to avoid 'caching' the values in variables and reading them from EEPROM instead.

I'd be glad to try to answer questions :)
Happy hacking!

@fredericsureau
Copy link

I have the exact same use case.

Setting run mode to PrX through communication does not automatically set dh, St and SP values to the first step of the profile.
When using the physical menu, these values are automatically set.
Maybe this is your problem?

As a workaround, I have solved this problem by setting dh, St and SP from the COM client.

No problem on my side when setting SP in "th" mode, temperature control is instantly updated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants