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

Modification of smarthomehandler.py for smarthome module smaem #1613

Closed
wants to merge 7 commits into from

Conversation

Bembelfan
Copy link
Contributor

@Bembelfan Bembelfan commented Oct 4, 2021

Modification of smarthomehandler.py regarding parameters for smarthome module smaem (SMA EnergyMeter)
Changes of smaem/watt.py for functional enhancement, log improvement and GUI parameters

With this pull request, the module is functional ready.
Known issues regarding dummyurl2 (see Wiki article)

- Change: No parameter for debugmode anymore
- Change: Always write debuglog smaem.log

Parameter secondssincelastmetering is not used right now, instead of using parameter it will static use 15 seconds
- usage of given parameter for secondssincelastmetering
- coding changed to ISO-8859-1
- former debug switches removed
- Debug output modified, now with timestamps
change of comment block
Modification for handover GUI parameter for smarthome module smaem "SMA EnergyMeter"
Modification of watt.py:
We now calculate the seconds since last ret-file creation only based on seconds (no milliseconds anymore)
We don't accept "any"/"None" SMA serial number anymore as we assume that our SMA EnergyMeter is not alone in our network.
Some comments are hopefully more self-explaining
We now use a separate file to avoid that a "normal" smarthome metering also writes the return-file
@benderl
Copy link
Collaborator

benderl commented Oct 6, 2021

Kannst Du Deinen Fork bitte auf den aktuellen Master aktualisieren und den Branch rebasen?
Dann wäre noch eine Beschreibung hilfreich, was überhaupt geändert wird. Doku ist lästig, aber durchaus sinnvoll. ;-)

@Bembelfan
Copy link
Contributor Author

Ich habe eigentlich quasi jede Änderung dokumentiert - aber ich vermute das war evtl. das falsche Feld. Wenn man auf die drei Punkte klickt, werden meine Kommentare angezeigt.
Oder meinst du was anderes? :-)

@benderl
Copy link
Collaborator

benderl commented Oct 8, 2021

Screenshot_20211008-194951
Ganz oben im PR fehlt eine Beschreibung.

@Bembelfan
Copy link
Contributor Author

Ok, danke für den Hinweis. Comment ist hinterlegt.

@Bembelfan Bembelfan closed this Oct 28, 2021
@Bembelfan
Copy link
Contributor Author

The PR is broken and will be replaced by 1651 and 1655

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

Successfully merging this pull request may close these issues.

None yet

2 participants