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

Trying myself on this project #2

Open
smartVanture opened this issue Oct 27, 2023 · 9 comments
Open

Trying myself on this project #2

smartVanture opened this issue Oct 27, 2023 · 9 comments

Comments

@smartVanture
Copy link

Hi and first of all thanks for providing your code!
This is pretty much my first project of this kind and I'm not sure how succsessfull I'll be on implementing it into my Smart Van system since I'm also not big of a coder but I'm very keen and curious! :)
So there might come some more questions in the near future but I'd like to start with two simple ones if you don't mind?

  1. In your wiring setup on the heater side you state that the red wire should go to Heater Red. I assume you mean Controller-Red, right?
  2. I'm already using some ESP32 in my van and would really like to use one for this purpose as well. It also comes with four serial ports (2x TX & 2x RX) and it has a 3.3V and a 5V pin. Not sure about the internal voltage logic, tho. Do you think it would work with an ESP32 or is there anything I'd have to keep in mind or change my setup so it would?

Thanks for your help!
Jens

@csreades
Copy link
Owner

csreades commented Oct 28, 2023 via email

@Tidle999
Copy link

Tidle999 commented Oct 28, 2023

Hello,

I would like to join in here as I've been following the project for a while and finally want to implement it in my camper. I have the same basic requirements as smartventure, so I don't have as many coding skills.
Currently, I have a Raspberry Pi 3 B running Home Assistant with Hass.io. to save energy I don't want to use another Raspberry Pi. I've noticed that Hass.io offers the option to run Python scripts as integrations, which can then be exposed as services in Hass.io. Would this work, or are there any specific things to consider or adjust?
The Arduino Mega seems to be connected to the raspberry via usb cable, right?
Isn’t it possible to let the arduino do all the communication and mqtt stuff? Or why is a raspberry needed here?
Thank you for your assistance.

@csreades
Copy link
Owner

csreades commented Oct 28, 2023 via email

@smartVanture
Copy link
Author

Thanks for your reply!
I have now bought the same Mega myself, as this will allow me to rule out possible sources of error regarding the conroller.

Now that I wanted to connect as stated by you, I had to find out, that the colours of the wires connected to my controller are different. I've got: red, white, black and yellow. Any idea which might be which? Or where to find an corresponding wiring diagram? Red is probably still 12V but the rest? 🤷🏽‍♂️

@csreades
Copy link
Owner

It should be fairly easy to identify +ve and ground with a multi-meter? Once you have done that then you can guess at RX/TX, and if it doesn't work just reverse them?

@smartVanture
Copy link
Author

That's true! Will try that probably on Wednesday. Cheers!

@smartVanture
Copy link
Author

Little Update from my side: Working great so far! I could implement everything exept those three entities:

  • entity: input_select.dieselheatercontrol
  • entity: input_number.dieselheaterpower
  • entity: input_number.dieselheatertemperature

I can't find where they should come from. They are also not defined in the configuration.yaml and I get the errors 'entity not available' for those three entities if I'm trying to create the example lovelace card. Any idea what the problem might be?

Because of that error, I'm currentyl only able to start heater and fan but can't set any temperature or fan speed.

@csreades
Copy link
Owner

csreades commented Nov 2, 2023

I believe the issue is that these three items work on helpers that are required in HA. I have added screen shots for each helper, they are created through the UI.

@smartVanture
Copy link
Author

smartVanture commented Nov 2, 2023

Ohh I see, thanks!
What are the DieselHeaterControll options connected to, tho?

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

3 participants