-
Notifications
You must be signed in to change notification settings - Fork 28
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
Holdingregisters without poll aren't created #77
Comments
I've got the same problem. The manual adding of the state works, but If I restart the modbus adapter the state is gone. Any Solution? Thanks! |
Any update here? |
Hi, Thanks a lot! |
Same for Keba P30c Wallbox, writeable params need write-only and no polling. |
Same here |
Hey @Apollon77, if you have time and resources available, do you mind having a look at this? It might be a quick win/fix? Thank you very much! |
Hi, Thanks! |
Ok, lets dig into it :-) Please install version from Github. Version number will not change. Set to debug log (admin- Instances - Expert mode - column loglevel) and restart adapter (onky needed if you had loglevel debug before. Checck if it happens again and provide debug log. Take log from disk /opt/iobroker/log/... please |
Great! Thanks. Here is my log:
Problem is SetMaxPower |
Ok, next try please ... and ideally also add a polling datapoint that I can see that still all works for that too ... |
The value which is not polled was now generated, but if I write a value to this I get following error (also when I create this ID manually):
All values which are polled, are working correct and get the values from the client. Here is the start-up log:
|
Is the write log anything or did you cutted stuff out? If there is normally more please include. And also restore the official version of adapter and add the state manually as you did before and send a log for write casse to compare ... |
I tried it once more: write log:
Write log with official version and manally created state: (write value is '11000')
|
Perhaps that helps ... i used debug "silly" mode Official version:
Your modified version:
|
I have an issue with the logs and that you say that all normal polling work. because I see in the last two logs that when polling only adress 1000 is polled and then you get kind of an timeout ... is that true? because then it is more nor working then just the write ... Can you please provide a complete log (not cutting areround and making oarts on top and stuff) |
Please also get anew from hithub, I added some more debug |
PS: kann es sein das Du geschrieben hast als er gelesen hatte ... weil "App timeout" kommt beim polling ... starnge |
Hoffe dieses Mal ist alles drinnen. edit: Logfile aktualisiert edit2: |
Auch ein Versuch von mir... |
@riedesign Also wenns bei einem tut und bei einem nicht ist es sehr strange weil der Adapter macht nix anderes ... keine Idee ehrlich gesagt @anhomb Hast Du denn so ein gerät? Weil bei dir kommt ein klarer Fehler |
Bitte 3.3.0 versuchen. Ich habe es jetzt mal released weil es ja eh nur probleme macht wenn mal "poll=false "states hat und nutzt ... bitte mal damit versuchen Und ein "illegal Address "fehler heisst das das modbux device das antwortet ... dann ist der Ounkt falsch für das Gerät |
@Apollon77 vielen Dank für deine Hilfe hier!
Testlog bei Version 3.2.6
Habe nun die 3.3.0 getestet, jedoch noch immer das gleiche Problem, dass dieser Error kommt. Habs auch mit verschiedenen Einstellungen (Schreibintervalle,...) getestet - immer der gleihce Fehler.
Hier das ganze Logfile Hab in der Anleitung der Ladestation nochmals nachgelesen. Da steht, dass der Schreibvorgang als FC6 durchgeführt werden muss. Leider kenne ich mich hier zu wenig aus, aber vielleicht sagt es dir was. |
Am Ende ist in der Version nur noch 260360e#diff-7457e37f73144333d9f610292348a1b7a4e3d1872d373723831cbc4d0d145f7cL439 drin was in Issue #78 diskutiert wurde ... ggf mal da syncen bzw mach mal die änderung dort rückgängig testweis ebitte?! Geht es dann? |
Hallo zusammen, ich habe mit der Version mal probiert, ob es bei mir klappt. Tatsächlich werden die States nun angelegt, aber das Schreiben schlägt fehl. |
Das ist der Fehler vom Device und danach disconnected es ... und der Adater sollte danach neu verbinden. |
WIe oben geschrieben macht doch mal die eine andere Änderung rückgängig .-... geht es vllt dann? Dann muss man doch da nochmal schauen |
Weiß nicht was du meinst mit anderer Änderung? |
In 260360e#diff-7457e37f73144333d9f610292348a1b7a4e3d1872d373723831cbc4d0d145f7cL439 wurde "objects[id].native.len > 1 && " aus dem "if" entfernt. macht es mal wieder rein, tut es dann? |
OK, da ich kein Java kann, müsste ich genau Anweisungen haben, das zu ändern. |
DANKE! das war der Fehler. Nun klappt es wunderbar. |
Super, ich kann das nicht ändern, wird hoff. dann ein neues Release ;) |
ich hab das repository geforkt und diese eine Änderung dran vorgenommen. |
Ja überlegen gerade wie am besten ... |
Hi @Apollon77 möchte freundlich nachfragen, ob eine Lösung in Sicht wäre. Vielen Dank. |
Es gab andere Themen die meine Zeit recht arg auffressen, ich muss schauen wann ich dazu komme |
Please test 3.3.2 |
I've created a holdingregister for an write-only address and set the checkbox for polling to false. With the restart of the adapter, all states are erases and are re-created. For holdingregisters with polling enabled this works fine. For holdingregisters without polling enabled, the states aren't created.
Manually adding the states through the GUI works and the adapter sends the values as expected if i edit the state.
Could you please fix this issue ?
Thx.
The text was updated successfully, but these errors were encountered: