Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
kc868-a2 SIM7600
#1
Hi Kincony

I am using Homeassistant and ESPHome.  I am looking to use kc868-a2 and SIM7600SA(Australia) with ESPHOme.  I see there is a SIM800L library for 2G boards.  Do you know if SIM7600 will work with SIM800L ESPhome configuration ?

Thankyou..Peter
Reply
#2
sorry, now ESPHome only support SIM800L.
Reply
#3
Hello everyone,

I am currently seeking a solution for integrating the SIM7600 module with ESPHome. Our provider has discontinued 2G support, necessitating an alternative compatible with Home Assistant and ESPHome.

We are considering installing your cards in a small datacenter. To this end, we are testing various solutions aimed at monitoring room temperature and detecting water leaks and door openings. It is critical that all these alerts be notified via SMS.

For our tests, we have acquired the KC868-A2, KC868-A4S, and KC868-A8 models (the latter for a different project without GSM connectivity).

Our top priorities include:

- Sending SMS notifications.

Using I2C for:
- A TFT screen displaying statuses.
- An I2C INA219 current monitoring sensor to indicate the backup battery's status.

For GPIO, we use:
- A DS18B20 temperature sensor with a 3-meter range.
- Door opening sensors.
- Water leak sensors.

We primarily wish to use ESPHome for Home Assistant, as the KCS firmware seems to limit our capacity to meet our specific needs. However, a major concern remains regarding the use of the 4G module: it appears that it can only be used with the KCS firmware.

Our questions are:
Is it possible to use multiple I2C modules on the KC868-A2, A4S, and A8 cards? If so, how many?
Do you have a solution that allows the simultaneous use of multiple I2C, GPIO, and GSM modules with Home Assistant?

Thank's
Reply
#4
1. if you want extend i2c device for KinCony's ESP32 board, it's OK. there are i2c extender interface on our PCB, just 3.3v, gnd, SDA,SCL 4 pins connect to your i2c devices. we suggest one i2c bus MAX use 8 devices, because of stable. also extender cable can't too long.

2. multiple I2C, GPIO use by ESPHome is no problem, about SIM7600 4G module, one of our customer have done, because ESPHome official have not support SIM7600 4G module component, but our customer have wrote the SIM7600 component for ESPHome, later i can ask him whether can share the component, then feedback to you.
Reply
#5
here is our customer have made SIM7600 4G component for ESPHome: https://github.com/chino-lu/sim7600
Reply
#6
Thank you for your feedback. I have started experimenting with I2C, referencing the pins of the ESP-WROOM-32E which indicates 22 -> SCL and 21 -> SDA.

Code:
[01:04:55][C][ssd1306_i2c:010]: Setting up I2C SSD1306...
[01:04:55][E][component:113]: Component display was marked as failed.
...
[01:04:57][C][i2c.arduino:053]: I2C Bus:
[01:04:57][C][i2c.arduino:054]:   SDA Pin: 21
[01:04:57][C][i2c.arduino:055]:   SCL Pin: 22
[01:04:57][C][i2c.arduino:056]:   Frequency: 50000 Hz
[01:04:57][C][i2c.arduino:059]:   Recovery: bus successfully recovered
[01:04:57][I][i2c.arduino:069]: Results from i2c bus scan:
[01:04:57][I][i2c.arduino:071]: Found no i2c devices!
...
[01:04:57][C][ssd1306_i2c:023]: I2C SSD1306
[01:04:57][C][ssd1306_i2c:023]:   Rotations: 0°
[01:04:57][C][ssd1306_i2c:023]:   Dimensions: 128px x 64px
[01:04:57][C][ssd1306_i2c:024]:   Address: 0x3C
[01:04:57][C][ssd1306_i2c:025]:   Model: SSD1306 128x64
[01:04:57][C][ssd1306_i2c:027]:   External VCC: NO
[01:04:57][C][ssd1306_i2c:028]:   Flip X: YES
[01:04:57][C][ssd1306_i2c:029]:   Flip Y: YES
[01:04:57][C][ssd1306_i2c:030]:   Offset X: 0
[01:04:57][C][ssd1306_i2c:031]:   Offset Y: 0
[01:04:57][C][ssd1306_i2c:032]:   Inverted Color: NO
[01:04:57][C][ssd1306_i2c:033]:   Update Interval: 1.0s
[01:04:57][E][ssd1306_i2c:036]: Communication with SSD1306 failed!

As I am not confident in my configuration, could you please tell me what is incorrect?
Board KC868-A2

Code:
i2c:
  sda: 21
  scl: 22
  scan: true
  id: bus_a

font:
  - file: "gfonts://Roboto"
    id: roboto
    size: 10

display:
  - platform: ssd1306_i2c
    i2c_id: bus_a
    model: "SSD1306 128x64"
    #model: "SH1106 128x64"
    address: 0x3C
    #address: 0x3D
    lambda: |-
      it.print(0, 0, id(roboto), "Hello");

(01-29-2024, 08:54 AM)admin Wrote: here is our customer have made SIM7600 4G component for ESPHome: https://github.com/chino-lu/sim7600

Thank you very much, I will pass this important information on to the team and get back to you.
Reply
#7
ESPHome yaml file for KC868-A2: https://www.kincony.com/forum/showthread.php?tid=2692
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)