ptvoinfo / zigbee-configurable-firmware

PTVO firmware for CC2530, CC2531, and CC2652 Zigbee chips
https://ptvo.info/zigbee-configurable-firmware-features/
MIT License
192 stars 22 forks source link

Ina3221. help #252

Closed kuradi closed 7 months ago

kuradi commented 7 months ago

hello, i succesfully got working ina219 with default settings, but when im trying ina3221 i cant get it to work. looks like l2C not communicating at all... is there anybody with successful setting for this sensor? i have this board image

kuradi commented 7 months ago

ok. i got it working. finally. but questions remains: how to read 3 channels separately? i have "channel: all" and then it shows quickly all channels in one reading. help?

kuradi commented 7 months ago

ok i gave up on using the ina3221 because it has a small led on it which makes it pointless for my battery powered project. now i trying to get work ina 226. and i have problems again.

  1. ina 219 immediately gave all readings - V, A, etc. however, ina 226 only offers V.
  2. how to connect several in 226 sensors. I currently have 2 sensors - the address of one is 40 (64) and the other is 41 (65) (i checked addresses with esphome and all worked perfectly). if im using one sensor all working as expected. when i'm adding second one i have issues and none of them working. if i read https://ptvo.info/zigbee-configurable-firmware-features/external-sensors/i2c-sensor/ i should use the SCL pin once and then assign each ina226 sensor its own SDA pin. Right? or they should also share SDA pin?
ptvoinfo commented 7 months ago

ok. i got it working. finally. but questions remains: how to read 3 channels separately? i have "channel: all" and then it shows quickly all channels in one reading. help?

Thank you for your patience! Here is the example for 3 channels. ina3221-img1

ptvoinfo commented 7 months ago

INA226

  1. This sensor should report 3 parameters (V, A, Power)
  2. I've attached an example for two sensors: ina226-img1
ptvoinfo commented 7 months ago

Of course, it is better to create a custom converter for z2m on the Expert tab.

kuradi commented 7 months ago

thanx! i'll try further :)

kuradi commented 7 months ago

Of course, it is better to create a custom converter for z2m on the Expert tab.

sure. so far both ina's working. if i may... i have one more question issue. i have this simple door/window sensor... how to connect it right to wake up psm? 1701539116499

ptvoinfo commented 7 months ago

@kuradi Please submit a new issue for the last question.