-
Notifications
You must be signed in to change notification settings - Fork 12
Cannot start truma miqro service #8
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
Comments
Please check the log files using |
Yes:
No MIQRO config file found - is that the problem? Before I continue with this: How should I test the program (as non-admin, i.e. before installing as admin) as you suggest in your guide? |
Seems that you need to create the config file as per the README. Yes, testing as a normal user is easier. It is important, however, that you don't do both (running the service twice will lead to errors). |
Ok, I will sudo pip3 uninstall, then test as normal user, and only later come back to setting up the service as admin etc. However. I still not fully understand how I should test this as normal user. I am stuck here:
What exactly after installing the software as normal user do I have to do? How is the program executed? Usually, I would do some Do I need mqtt already at this point? I have everything else set up on my desk ("fliegende Verdrahtung") and only need to carry the stuff over to my caravan and plug the LIN bus cable and the power supply. But before I do this. I need to understand how to deal with the software part. Thanks for bearing with me! |
You can just run Yes, you need some mqtt broker running for that to work. |
Yes, looks good. The hexadecimal number is a memory location, not particularly helpful here. |
Got everything hooked up, but the CP+ shows a "W255 H" warning and the truma_service stops after lots of checksum errors. I'm going to append the output later. Oh, I just now did the PR SET => INIT. |
Ah, this looks a bit better, but still checksum errors after PR SET: (how can I pipe truma_service's output to a logfile?)
And why does the CP+ now only show the time and offer the settings menu? Other entries are not shown anymore. Is it because the service has taken over? |
I seem to miss this row from your guide:
It does not show up for my setting as you can see in my previous post. |
It seems that the operation of the script interrupts the connection between CP Plus and the heater. Is everything connected correctly? |
My Truma Combi EDIT: 4 (not 6) without "E" has 2 LIN connectors. One plug is occupied with the LIN bus cable to the CP+. The other plug was empty, and I connected to it the LIN bus cable that came with the iNet box. So one end convects to LIN plug 2 of the Truma Combi and the other end to the splitter you mentioned (I have the same). I use the splitter just as a connector to an RJ12 cable, of which one wire (the one you highlighted) is connected to LIN on the UART board. I will post some photos later, of that helps. Does it matter if I use the hitherto unused LIN plug 2 of the Truma Combi, or do I have to use the splitter to have both CP+ cable and "your" cable connect to the same LIN plug 1 of the Truma Combi? If I use the splitter just as a connector, does it matter which way around the cables are connected? (real photos will follow) |
The second LIN plug on the Combi should be fine. I wonder if there might be a short circuit between some of the lines. |
I will check the lines tomorrow with a multimeter. Would it be correct to unplug the CAN cable from the Truma Combi and then simply check all lines if they "go through"? (i.e. between the CAN cable from the Truma combi and the UART, the RPi, and the CP+) I'm no electrician and fear to destroy something by wrongly "measuring". All your hints here I take without any warranties, of course. ;) Thank you so much for your help - I truly appreciate it! |
Two things:
|
There's not too much you can measure there. I rather suspect that something is not connected properly. Did you ensure that there is no short-circuit between any of the other lines coming from the RJ12? |
It is the same number as in your case. Sorry that I cannot take another look now but for sure will do tomorrow (also check that I have not counted from the wrong side).
And sorry that I took the photo of my RPi with the colours of the wires not visible. I know that RX is connected to TX and vice versa (between RPi and UART board). However, I will check this too, tomorrow (and also take another photo). |
No, I have to check this, too. Thanks for your many hints! :) PS: |
Sorry. I now saw it in the readme: |
Oh my bad, I was too stupid about the right wires but hope that the yellow one (which I initially selected) is correct! On the left side is a copy from your guide, on the right side my cable. It should be wire number 3 from the right of the terminal with the fasting latch facing towards the bottom, correct? And this goes there: |
When using any of the 3 debug options, where would the debug info appear? I tried all 3 (separately) but the output always is the same as posted before, i.e. the row about "inet-lin INFO Received status data from cp plus". I tested the wires and don't know what else to do. PS: Maybe I should try a different RJ12 cable? Our is there anything else I should try? You mentioned in your guide:
Do you mean by "first status data" the last line? So as long as that does not appear something is wrong? And I'm still curious if your CP+ shows only the clock and the settings icons when connected (as in my case). |
So, nach aktualisierter Verkabelung kommt nun das:
Das ist unverändert, würde ich sagen... |
Da bei mir nun Werte angezeigt werden, erlaube ich mir, mein Thema hier zu schließen. Vermutlich macht es ja auch eh mehr Sinn. dort bzgl. Verbindungsproblemen weiter zu diskutieren: #11 (comment) @danielfett |
Uh oh!
There was an error while loading. Please reload this page.
Hi Daniel, I followed your installation guide, i.e. first installed as normal user. It further reads: "After you have tested that the software works for you". Erm, how can I test it? 😊
BTW, I put this in my .bashrc:
export PATH="$HOME/.local/bin:$PATH"
Then I installed everything as admin (with sudo) but got this error message after trying to start this service:
Can you please point me to a direction where I should have a closer look? Thank you!
The text was updated successfully, but these errors were encountered: