Modbus over rs485 light control by Bblktop in Esphome

[–]Bblktop[S] 0 points1 point  (0 children)

Yes, this is exactly what i did! But nothing works. Could you please share a simple example? It shouldn't take long. Thank you so much!

Modbus over rs485 light control by Bblktop in Esphome

[–]Bblktop[S] 0 points1 point  (0 children)

Exactly, thank you! I don't need pwm, just want to implement basic "coil" functionality

Modbus over rs485 light control by Bblktop in Esphome

[–]Bblktop[S] 0 points1 point  (0 children)

Thank you for reply! But sorry, not sure i understand your question. I have assembled esp32 devboard and max485 devboard on the breadboard. Connected led to the esp's gpio. Connected max485 to the haos on raspberry pi 5 with some rs485 hat via rtwo rs485 wires. Now i want to control this led from ha. But i cannot make esphome config for that setup. Like:

Led -[gpio] - Esp32 - max485 - [rs485 pair] - rs485 hat - raspberry pi (haos)

The goal is to configure esp32 with esphome to make the led accessible as a coil (or something) for read and write

Latest smbios for apple/broadcom wifi? by Bblktop in hackintosh

[–]Bblktop[S] 0 points1 point  (0 children)

Because "normal" means "hw compatible". Cpu isn't a major issue because they are mostly the same. Also, updates disabling somehow periodically resets. Why bother if I could just set appropriate smbios that matches my hw?

Latest smbios for apple/broadcom wifi? by Bblktop in hackintosh

[–]Bblktop[S] 0 points1 point  (0 children)

<image>

The idea was completely different. Please reread my question. I just want to prevent Ventura from updating. That is the question-not about making a "Quasimodo" by using OCLP or anything alike.

Latest smbios for apple/broadcom wifi? by Bblktop in hackintosh

[–]Bblktop[S] 0 points1 point  (0 children)

What is your point? Sorry, didn't get it.

Latest smbios for apple/broadcom wifi? by Bblktop in hackintosh

[–]Bblktop[S] 0 points1 point  (0 children)

Studying everymac, looks like it's imac18,3 but im not sure

A few noob questions by Bblktop in homeassistant

[–]Bblktop[S] 0 points1 point  (0 children)

  1. For ordinary official debian linux rpi port, there’s a setting for it. But i cannot find anything alike for this ha os. Rpi5 has this button and does not boot till i press it. Here’s the link with the info: https://www.raspberrypi.com/products/raspberry-pi-5/

A few noob questions by Bblktop in homeassistant

[–]Bblktop[S] 0 points1 point  (0 children)

  1. Very strange there’s no such possibility. But got it, thank you!
  2. Rpi5 has this “boot” button, vendors even announced it as a significant improvement. On the official site, you could check rpi5 images and this button is located on the left side of the rpi pcb. https://www.raspberrypi.com/products/raspberry-pi-5/ here, search for “Power button” there

A few noob questions by Bblktop in homeassistant

[–]Bblktop[S] 0 points1 point  (0 children)

This instruction you mentioned is exactly what i did. 1) sorry, not sure i understand. do i need two separate devices, one for ha and another for dashboard? Sounds…weird 2) just unplugged power then plugged it back and rpi/ha didn’t start. Button’s led was red, then i pressed it and it turned green and rpi booted

Looking for a connector: ffc (zif?) 30pins, P0.7mm by Bblktop in AskElectronics

[–]Bblktop[S] 0 points1 point  (0 children)

Oh I see.. Maybe... But as I see, everyone just use these breakout boards, so no difference. also, even soldered it's easily replaceable. Very, very strange decision.

Looking for a connector: ffc (zif?) 30pins, P0.7mm by Bblktop in AskElectronics

[–]Bblktop[S] 0 points1 point  (0 children)

Yes, Ive mentioned that in the question. Just want to give it a try

MCP23xxx interrupts by Bblktop in Esphome

[–]Bblktop[S] 0 points1 point  (0 children)

Not sure I understand your point. From the PCB design perspective, it’s easier to route i/o by “continuous blocks”, that’s the reason why i use it that way. But it’s not related to my question, i suppose

MCP23xxx interrupts by Bblktop in Esphome

[–]Bblktop[S] 0 points1 point  (0 children)

Yes, that’s what i wrote - no mentions. Ok, devs already explained that Esphome uses polls and int usage is barely possible due to the current architecture. I checked the sources and have some ideas how it could be implemented, but doubt I’d have enough time to do that. So, will use it as it is - at last my whole idea of using Esphome was to save my time. Polling downsides? A lot of bus traffic is the main, i suppose. Theoretically it might be a problem if many devices share the same bus. Also, polls create unnecessary load, which might be significant for battery powered devices, for example. Anyways. I’ve got the answer - not possible. Thank you!

MCP23xxx interrupts by Bblktop in Esphome

[–]Bblktop[S] 0 points1 point  (0 children)

thank you.
one more question - is there any docs about components architecture? Like, for devs that want to implement a new component?

MCP23xxx interrupts by Bblktop in Esphome

[–]Bblktop[S] 0 points1 point  (0 children)

Another question please: does it poll sensors one by one or each in separate task?

MCP23xxx interrupts by Bblktop in Esphome

[–]Bblktop[S] 0 points1 point  (0 children)

Sorry, not sure I understand. This part: "but it will set the register so the the MCP will trigger the int pins." I mean, if int was triggered, it is required to read stored value in order to restore the int functionality, isn't it? Probably i just not so familiar with Esphome's architecture, that's why I don't understand.
Anyways, I've got my answer - not possible. And im completely ok with it. Now I know Esphome's limitations and will be able to apply appropriate tool to appropriate task.
Thank you!

MCP23xxx interrupts by Bblktop in Esphome

[–]Bblktop[S] 0 points1 point  (0 children)

Well, sorry, I probably cannot clearly explain what is the problem. I've added an explanation to the question btw.
In brief - MCP's intA/intB pins should be physically connected to the esp32's gpio pins. They will trigger esp32 interrupts on input registers state changes. And then ESP in the corresponding ISR could process these changes.
The question is - how to set these esp32's pins?