Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 6,136
» Latest member: Mavorad
» Forum threads: 2,793
» Forum posts: 14,683

Full Statistics

Online Users
There are currently 105 online users.
» 2 Member(s) | 84 Guest(s)
Amazonbot, Bing, Bytespider, Crawl, Google, PetalBot, WhatsApp, Yandex, bot, eyevisions, iso_consultant07

Latest Threads
ESPhome builder 2025.2
Forum: KinCony AS
Last Post: eyevisions
8 minutes ago
» Replies: 0
» Views: 1
Etgernet + wifi
Forum: KC868-A series and Uair Smart Controller
Last Post: kulibin
1 hour ago
» Replies: 25
» Views: 255
Authentication failure
Forum: KC868-A8S
Last Post: admin
3 hours ago
» Replies: 6
» Views: 114
GI - ESPHOME
Forum: G1
Last Post: admin
3 hours ago
» Replies: 5
» Views: 11
Home Assistant authentica...
Forum: KC868-A8S
Last Post: Auxinne Paul
6 hours ago
» Replies: 2
» Views: 249
Several controllers in on...
Forum: KC868-A6
Last Post: admin
Yesterday, 09:30 AM
» Replies: 3
» Views: 17
Water supply automation
Forum: Getting Started with ESPHome and Home Assistant
Last Post: admin
Yesterday, 09:28 AM
» Replies: 1
» Views: 9
"KCS" v2.2.10 firmware BI...
Forum: "KCS" v2 firmware system
Last Post: draugen
Yesterday, 03:59 AM
» Replies: 25
» Views: 2,281
Kc868-a32 spi
Forum: KC868-A32/A32 Pro
Last Post: admin
Yesterday, 02:27 AM
» Replies: 1
» Views: 14
PROGRAM KC868 A16 DI, DO ...
Forum: KC868-A16
Last Post: admin
Yesterday, 02:27 AM
» Replies: 18
» Views: 249

  KC868-A16 blown capacitor
Posted by: nielsek - 01-28-2025, 08:12 AM - Forum: KC868-A series and Uair Smart Controller - Replies (1)

Hi

By accident powered one of my KC868-16 board from mains (220v) and blew (at least) E2 capacitor (100uF/35V).  Does it make sense to put a new capacitor, or most definitely there are more components destroyed?

Thanks in advance

Print this item

  KC868-A16 output power
Posted by: uslackr - 01-27-2025, 09:32 PM - Forum: KC868-HxB series Smart Controller - Replies (1)

I have this board and plan to use it to control multiple valves.  Can you confirm that I can use 24VAC on the output lines?
Huh
Thank you

\\uSlackr

Print this item

  Pull up on A8
Posted by: heffneil - 01-27-2025, 09:04 PM - Forum: KC868-A series and Uair Smart Controller - Replies (11)

I am using ESPHome and I am seeing a lot of problems with the floating input.  Can someone tell me if I can specify pullup?  I tried with esphome normally and it doesn't like it so I am stuck?

Print this item

Wink KC868-A16 IFTT
Posted by: FrBe - 01-27-2025, 08:32 PM - Forum: News - Replies (3)

Hello, I have a K868 A16 card, I would like to use it for photovoltaic.
I followed the procedure to load the BIN file from Kincony, I control the card and I created actions via IFTT.
Unfortunately, I haven't found the source file for your BIN so I can modify the file and reinject it as if it were an Arduino IDE ESP32.
I would have liked to be able to define variables to memorise the state of the battery in charge/discharge, the sun producing more, ...
Not having to use a Raspberry pi, pc ...
Will the RS485 port be able to include the battery BMS and will the board alone be able to extract the data and process the values?
Is it possible to connect a small screen displaying messages via I2C?
How can I add the program via the Arduino IDE without losing the original BIN file?
I'd like to use a voltage divider bridge, connect the voltage of the photovoltaic panels and the battery voltage so that the board controls the starting or stopping of the inverter depending on the amount of sunlight and the state of charge/discharge of the battery.
I'm thinking of using conditions via IFTT because I'd like the card to work locally if the internet isn't working.
I was thinking of using ESPHOME and HA, but if there is no internet the card will be useless I suppose.
Thanks for your help.

Print this item

  PROGRAM KC868 A16 DI, DO AND LIQUID CRYSTAL FROM ARDUINO IDE
Posted by: Cesarcardca - 01-27-2025, 05:43 PM - Forum: KC868-A16 - Replies (18)

I NEED PROGRAM KC868 A16 DI, DO AND LIQUID CRYSTAL I2C FROM ARDUINO IDE. Or if your recommendation is through esphome, I could also try it, I need the syntax, or the devices for inputs and outputs so I can manipulate my program since I also need to interrupt a sensor.



Attached Files Thumbnail(s)
   
Print this item

  IP CAM
Posted by: jacklellel - 01-27-2025, 04:54 PM - Forum: KC868-A2 - Replies (1)

Good morning,
I would like to know if it is possible to connect an IP camera to the Ethernet port of this card, so that it sends the periodic web shots through the SIM7600 module.

Print this item

  UART connection
Posted by: eitan - 01-27-2025, 08:54 AM - Forum: KC868-A16 - Replies (1)

Hi everyone
I recently bought a A16 and I am a bit lost on how to program it.
I have a lot of experience in programming on arduino, but not much on ESP.
I followed another thread https://www.kincony.com/forum/showthread.php?tid=2199, but I am not sure on my results.

Here is my objective (that s pretty simple to my opinion):

I have 4 different current sensors connected to the A16. I want to read these 4 currents and send them to the arduino (portenta c33). I also want the portenta to send 8 states (up or down) to control digital outputs.

How to do so ?

I am currently using Arduino IDE, I am not familiar with KCS...

Thanks,
Eitan

Print this item

  HA + Loxone + NSPanel
Posted by: krzysieks1526 - 01-27-2025, 08:27 AM - Forum: DIY Project - Replies (3)

Hi all,

Do you have solutions for HomeAssistant which is cooperating with Loxone over NSPanels?

I mean I am looking for controllers with power output as NSPanel will use virtual inputs on Loxone and Loxone will execute commands over mqtt/http on your controllers

Any idea? Examples? Controllers without Input?

Best Regards
Krzysztof

Print this item

  how to install KC868-AG without HA
Posted by: ahiel - 01-26-2025, 10:55 AM - Forum: KC868-AG / AG Pro / AG8 - Replies (5)

I've just got KC868-AG and want to install it to use it with MQTT (I'm using openhab).
how can I configure it?
just connected it to power (see green light). but can't see any new wifi network. 
any manual?

thanks!

Print this item

  ESP32-S3 Core Development Board ESP-IDF SSD1306 Demo
Posted by: egionet - 01-26-2025, 09:41 AM - Forum: G1 - No Replies

This driver was developed for generic SSD1306 OLED displays.  Information on features and functionality are documented and can be found in the `ssd1306.h` header file.  The SSD1306 component is a compact and simplified driver compatible with 128x64 and 128x32 displays.  There are three font sizes supported, hardware and software scrolling capabilities, bitmap visualization, and more.  This component has one font implemented now (i.e. 8x8 basic Latin + control + extended Latin) but is ideal for most use cases.

The example initializes a 128x64 SSD1306 display and demonstrates the following features:
- Display large text (x3)
- Display file receive and transmit bitmap icons
- Display medium text (x2)
- Display text
- Display countdown timer
- Display text scrolling up
- Display text scrolling down
- Display text paging down and up
- Display text scrolling horizontally from right and left
- Display text scrolling vertically downwards and upwards
- Display bitmap images
- Display inverted text and fadeout


Generic 128x64 SSD1306 OLED display example:

Code:
void i2c0_ssd1306_task( void *pvParameters ) {
    // initialize the xLastWakeTime variable with the current time.
    TickType_t          last_wake_time   = xTaskGetTickCount ();
    //
    // initialize i2c device configuration
    i2c_ssd1306_config_t dev_cfg         = I2C_SSD1306_128x64_CONFIG_DEFAULT;
    i2c_ssd1306_handle_t dev_hdl;
    //
    // init device
    i2c_ssd1306_init(i2c0_bus_hdl, &dev_cfg, &dev_hdl);
    if (dev_hdl == NULL) {
        ESP_LOGE(APP_TAG, "ssd1306 handle init failed");
        assert(dev_hdl);
    }
    //
    // task loop entry point
    for ( ;; ) {
        ESP_LOGI(APP_TAG, "######################## SSD1306 - START #########################");
        //
        int center = 1, top = 1, bottom = 4;
        char lineChar[16];
        uint8_t image[24];
        ESP_LOGI(APP_TAG, "Panel is 128x64");
        // Display x3 text
        ESP_LOGI(APP_TAG, "Display x3 Text");
        i2c_ssd1306_clear_display(dev_hdl, false);
        i2c_ssd1306_set_display_contrast(dev_hdl, 0xff);
        i2c_ssd1306_display_text_x3(dev_hdl, 0, "Hello", 5, false);
        vTaskDelay(3000 / portTICK_PERIOD_MS);
        // Display bitmap icons
        ESP_LOGI(APP_TAG, "Display bitmap icons");
        i2c_ssd1306_set_display_contrast(dev_hdl, 0xff);
        i2c_ssd1306_clear_display(dev_hdl, false);
        i2c_ssd1306_display_bitmap(dev_hdl, 31, 0, data_rx_img_32x32, 32, 32, false);
        vTaskDelay(500 / portTICK_PERIOD_MS);
        i2c_ssd1306_display_bitmap(dev_hdl, 31, 0, data_tx_img_32x32, 32, 32, false);
        vTaskDelay(1000 / portTICK_PERIOD_MS);
        // Display x2 text
        ESP_LOGI(APP_TAG, "Display x2 Text");
        i2c_ssd1306_clear_display(dev_hdl, false);
        i2c_ssd1306_set_display_contrast(dev_hdl, 0xff);
        i2c_ssd1306_display_text_x2(dev_hdl, 0, "{xTEXTx}", 8, false);
        i2c_ssd1306_display_text_x2(dev_hdl, 2, " X2-X2", 6, false);
        vTaskDelay(3000 / portTICK_PERIOD_MS);
        // Display text
        ESP_LOGI(APP_TAG, "Display Text");
        i2c_ssd1306_clear_display(dev_hdl, false);
        i2c_ssd1306_set_display_contrast(dev_hdl, 0xff);
        i2c_ssd1306_display_text(dev_hdl, 0, "SSD1306 128x64", 14, false);
        i2c_ssd1306_display_text(dev_hdl, 1, "Hello World!!", 13, false);
        i2c_ssd1306_display_text(dev_hdl, 2, "SSD1306 128x64", 14, true);
        i2c_ssd1306_display_text(dev_hdl, 3, "Hello World!!", 13, true);
        vTaskDelay(3000 / portTICK_PERIOD_MS);
        // Display Count Down
        ESP_LOGI(APP_TAG, "Display Count Down");
        memset(image, 0, sizeof(image));
        i2c_ssd1306_display_image(dev_hdl, top, (6*8-1), image, sizeof(image));
        i2c_ssd1306_display_image(dev_hdl, top+1, (6*8-1), image, sizeof(image));
        i2c_ssd1306_display_image(dev_hdl, top+2, (6*8-1), image, sizeof(image));
        for(int font = 0x39; font > 0x30; font--) {
            memset(image, 0, sizeof(image));
            i2c_ssd1306_display_image(dev_hdl, top+1, (7*8-1), image, 8);
            memcpy(image, font8x8_latin_tr, 8);
            if (dev_hdl->flip_enabled) i2c_ssd1306_flip_buffer(image, 8);
            i2c_ssd1306_display_image(dev_hdl, top+1, (7*8-1), image, 8);
            vTaskDelay(1000 / portTICK_PERIOD_MS);
        }
        // Page Down
        ESP_LOGI(APP_TAG, "Page Down");
        i2c_ssd1306_clear_display(dev_hdl, false);
        i2c_ssd1306_set_display_contrast(dev_hdl, 0xff);
        i2c_ssd1306_display_text(dev_hdl, 0, "---Page   DOWN---", 16, true);
        i2c_ssd1306_set_software_scroll(dev_hdl, 1, (dev_hdl->pages-1) );
        for (int page = 0; page < bottom+10; page++) {
            if ( (page % (dev_hdl->pages-1)) == 0) i2c_ssd1306_clear_scroll_display(dev_hdl);
            lineChar[0] = 0x02;
            sprintf(&lineChar[1], " Line %02d", page);
            i2c_ssd1306_display_scroll_text(dev_hdl, lineChar, strlen(lineChar), false);
            vTaskDelay(500 / portTICK_PERIOD_MS);
        }
        vTaskDelay(3000 / portTICK_PERIOD_MS);
        // Horizontal Scroll
        ESP_LOGI(APP_TAG, "Horizontal Scroll");
        i2c_ssd1306_clear_display(dev_hdl, false);
        i2c_ssd1306_set_display_contrast(dev_hdl, 0xff);
        i2c_ssd1306_display_text(dev_hdl, center, "Horizontal", 10, false);
        i2c_ssd1306_set_hardware_scroll(dev_hdl, I2C_SSD1306_SCROLL_RIGHT, I2C_SSD1306_SCROLL_2_FRAMES);
        vTaskDelay(5000 / portTICK_PERIOD_MS);
        i2c_ssd1306_set_hardware_scroll(dev_hdl, I2C_SSD1306_SCROLL_LEFT, I2C_SSD1306_SCROLL_2_FRAMES);
        vTaskDelay(5000 / portTICK_PERIOD_MS);
        i2c_ssd1306_set_hardware_scroll(dev_hdl, I2C_SSD1306_SCROLL_STOP, I2C_SSD1306_SCROLL_2_FRAMES);
        // Vertical Scroll
        ESP_LOGI(APP_TAG, "Vertical Scroll");
        i2c_ssd1306_clear_display(dev_hdl, false);
        i2c_ssd1306_set_display_contrast(dev_hdl, 0xff);
        i2c_ssd1306_display_text(dev_hdl, center, "Vertical", 8, false);
        i2c_ssd1306_set_hardware_scroll(dev_hdl, I2C_SSD1306_SCROLL_DOWN, I2C_SSD1306_SCROLL_2_FRAMES);
        vTaskDelay(5000 / portTICK_PERIOD_MS);
        i2c_ssd1306_set_hardware_scroll(dev_hdl, I2C_SSD1306_SCROLL_UP, I2C_SSD1306_SCROLL_2_FRAMES);
        vTaskDelay(5000 / portTICK_PERIOD_MS);
        i2c_ssd1306_set_hardware_scroll(dev_hdl, I2C_SSD1306_SCROLL_STOP, I2C_SSD1306_SCROLL_2_FRAMES);
        // Bitmaps
        ESP_LOGI(APP_TAG, "Bitmaps");
        i2c_ssd1306_display_text(dev_hdl, 1, "BATMAN", 6, false);
        int bitmapWidth = 4*8;
        int width = dev_hdl->width;
        int xpos = width / 2; // center of width
        xpos = xpos - bitmapWidth/2;
        int ypos = 16;
        ESP_LOGD(APP_TAG, "width=%d xpos=%d", width, xpos);
        i2c_ssd1306_display_bitmap(dev_hdl, xpos, ypos, batman, 32, 13, false);
        vTaskDelay(3000 / portTICK_PERIOD_MS);
        for(int i=0;i<128;i++) {
            i2c_ssd1306_set_display_wrap_arround(dev_hdl, I2C_SSD1306_SCROLL_RIGHT, 2, 3, 0);
        }
        vTaskDelay(2000 / portTICK_PERIOD_MS);
        i2c_ssd1306_clear_display(dev_hdl, false);
        i2c_ssd1306_display_bitmap(dev_hdl, 0, 0, fleischer, 128, 64, false);
        vTaskDelay(2000 / portTICK_PERIOD_MS);
        // Invert
        ESP_LOGI(APP_TAG, "Invert");
        i2c_ssd1306_clear_display(dev_hdl, true);
        i2c_ssd1306_set_display_contrast(dev_hdl, 0xff);
        i2c_ssd1306_display_text(dev_hdl, center, "  Good Bye!!", 12, true);
        vTaskDelay(5000 / portTICK_PERIOD_MS);
        // Fade Out
        ESP_LOGI(APP_TAG, "Fade Out");
        i2c_ssd1306_fadeout_display(dev_hdl);
        //
        ESP_LOGI(APP_TAG, "######################## SSD1306 - END ###########################");
        //
        //
        // pause the task per defined wait period
        vTaskDelaySecUntil( &last_wake_time, I2C0_TASK_SAMPLING_RATE + 10 );
    }
    //
    // free resources
    i2c_ssd1306_delete( dev_hdl );
    vTaskDelete( NULL );
}

The source code for the above example and component are available here:
- Example: https://github.com/K0I05/ESP32-S3_ESP-ID...306_task.c
- Component: https://github.com/K0I05/ESP32-S3_ESP-ID...sp_ssd1306

Print this item