Eight MOSFETS Home Assistant Integration pi 4b

jw87

New member
Hi there,

I initially got the mosfet hat working fine on a Pi 5 with Home Assistant supervised.

However, when trying to set up on a pi 4b with Home Assistant OS I am running into trouble.

The 8 pwm options show up in overview but do not function ( i can set pwm values but no led nor current flow through relay)

The relays don't show up at all even though I am fairly sure I have everything set up as I did in Supervised

Is OS supported or do i need to run through supervised?

Thanks
James
 

jw87

New member
Home Assistant

  • Core2024.11.3
  • Supervisor2024.11.4
  • Operating System13.2
  • Frontend20241106.2



8 Mosfet PWM hat v5.1
 

alexburcea

Moderator
Staff member
Hi James,

Normally there is no difference between the two systems concerning the 8-Mosfets but I will ask Vlad, who wrote the integration, and get back to you.

Alex.
 

3lv

New member
Hi James,
I looked into the issue and couldn't find anything, for me it works fine on any platform.
Make sure the integration is installed correctly(maybe redownload). After that, could you share your configuration.yaml and a screenshot with the overview?
For me they look like this on pi 4b with Home Assistant OS, with the mosfet card on stack level 0:
1733265700812.png1733265466725.png
Best regards,
Vlad
 

jw87

New member
Thanks for looking into this for me

The l2C had not been activated properly on that particular config. The pins were reading 3.3v and combined with the fact I was seeing some mosfet info I thought it had initialized correctly. I have attached a screenshot of what I was seeing if anyone has the same issue.

You can check if l2C has initialized properly by running the HassOS l2C Configurator again and checking the logs. Second screenshot is what you get when installed correctly. If it instead asks you to reboot you will need to reboot system twice.


Thanks again for your help
 

Attachments

  • Screenshot 2024-12-03 225121.png
    Screenshot 2024-12-03 225121.png
    107.5 KB · Views: 0
  • Screenshot 2024-12-04 005235.png
    Screenshot 2024-12-04 005235.png
    146.4 KB · Views: 0
  • Screenshot 2024-12-04 005902.png
    Screenshot 2024-12-04 005902.png
    50.4 KB · Views: 0

3lv

New member
Thanks for looking into this for me

The l2C had not been activated properly on that particular config. The pins were reading 3.3v and combined with the fact I was seeing some mosfet info I thought it had initialized correctly. I have attached a screenshot of what I was seeing if anyone has the same issue.

You can check if l2C has initialized properly by running the HassOS l2C Configurator again and checking the logs. Second screenshot is what you get when installed correctly. If it instead asks you to reboot you will need to reboot system twice.


Thanks again for your help
I am glad you got it working!
I will create a troubleshooting section in the documentation that covers common issues, including yours.
 
Top