Signal K

SK

Signal K

Signal K is an ecosystem for free and open source universal marine data exchange and software.

Join

questions

announcements

server

specification

plugins-and-webapps

sensors

nmea2000

node-red

wilhelmsk

sensesp

desolinanz - Hi, hoping someone can help me... ...

Hi, hoping someone can help me... I've used ESP32's for several projects in the past (mainly using Tasmota), but this is the first time i'm trying with PlatformIO and SensESP. My problem is, I can never get the board to connect to a wifi network. Using the captive portal, the save button on the wifi screen just doesn't do anything. Has anyone come across this before? I've tried hardcoding the ssid/password in main.cpp as per the project template on GH - but still nothing. I am using very generic/cheap ESP32 boards from AliExpress which are unbranded. I've tried numerous board types in PlatformIO and they all give me the same result. Would love to get it working with the boards I have as I know they can connect with wifi using other platforms. Cheers!...

MV 2 Umbrellas - anyone know if the sensesp lib...

anyone know if the sensesp library for esp supports subscriptions to signalk paths? ie to be notified when a value at a path updates?

MV 2 Umbrellas - I have been poking around the ...

I have been poking around the source for anything that looked like websocket traffic initiated by the server (to the client) ... I found this on_receive_put method that looks promising https://github.com/SignalK/SensESP/blob/887f1281a8f3b91684ab96faf42b4b6546149137/src/sensesp/signalk/signalk_ws_client.cpp#L318C18-L318C32 and also this on_receive_updates method https://github.com/SignalK/SensESP/blob/887f1281a8f3b91684ab96faf42b4b6546149137/src/sensesp/signalk/signalk_ws_client.cpp#L248...

MV 2 Umbrellas - hello folks ... I am working o...

hello folks ... I am working on a an esp32/signalk project for my generators onboard ... I am able to send data like oil pressure, coolant temp via signalk to a dashboard I am now hoping to be able to send a stop signal back to the generator ... is there a way to make the system "2 way"? ie send a command back over the websocket to be handled by the esp32 ?...

Matti Airas - Hi all,I have now merged the de...

Hi all, I have now merged the dev-3 development branch into main and released version 3.0.0-beta.1. This is a major new version. While documentation hasn't been updated yet, I have listed the major changes (there are many!) and written some migration information in the repo README. I will also make corresponding update releases in related repos such as project templates etc. Please have a go at it and report any issues and annoyances!...

DWinchester - Sill looking for example with ADS...

Sill looking for example with ADS1115 analog input. The documentation talks about sensesp supporting that chip but nothing beyond that. For example, what library is supported.

DWinchester - Can someone point me to an exampl...

Can someone point me to an example using a ADS1115 analog board with an esp32 devkitv1

ray_sabado - We are adding three sensors to our...

We are adding three sensors to our generator. Oil pressure, water temperature, and exhaust temperature. The sensors are meant to connect to the factory wiring harness then into factory gauges on the control panel. Because we didn't opt for the gauge package, our control panel does not have the analog gauges just unterminated wires. I think a ESP32 is what I would use to read that data and then send it to Signalk. Is that correct?...

Roger - Is there some way to set the ip address...

Is there some way to set the ip address that is used in AP mode? I've got several devices that will run in AP mode, and while I don't mind having to connect the wifi to each device when configuring it or performing an update, sometimes the computer will automatically reconnect to one of the other APs without me noticing. At least if the ip addresses were different, it would give me some sort of indication.

Roger - @Matti Airas I have OTA updates enable...

@Matti Airas I have OTA updates enabled on my SH-ESP32, and also on another ESP32 board. I’m also sending out n2k data, so I would like to disable sending signalk data. I followed your HALMET example which works for the data, but OTA updates don’t work. Looking at the different app types, it looks like OTA is only available on the full app. Do you have any suggestions? V2 SDK if it makes a difference. Thanks, ...

Matti Airas - It starts only after the delay. Y...

It starts only after the delay. You need to call the function once manually, either directly as a regular function call, or with onDelay(0, ...) in which case the first execution happens once the event loop starts.

FlyingK - QQ: does a repeat sensor have to be c...

QQ: does a repeat sensor have to be connected to an SK output? I am wondering if I could use a repeat sensor to trigger an e-paper display update on a different interval than the communication with SK without interfering with anything else.

FlyingK - First of all thank you much for the g...

First of all thank you much for the great project! I managed to use SensESP to send temperature, pressure and humidity data (bme280 sensor) to SignalK (running on an rpi5 with openplotter) from an ESP32-E microcontroller powered by a lipo battery. I'm also able to show the measurements on an e-paper display as I want to have an energy efficient display on my boat when the pi is not running. To reduce the power consumption of the esp32 I planned to use deep sleep mode and only send new deltas eve...

Matti Airas - Here's a sneak peek of something ...

Here's a sneak peek of something I've been working on for my own purposes: an NMEA 0183 wind instrument interface written using SensESP. I use it to provide a configuration interface and NMEA 2000 (and Signal K, of course) connectivity for an Autonnic A5120 wind instrument. I intend to write a tutorial on the topic but no promises on the schedule. I already use the thing on my own boat and it works well and reliably. https://github.com/mairas/wind-interface...

Matti Airas - For those who are interested in S...

For those who are interested in SensESP v3 development: I added a bunch of transforms that should help with many common use cases. Join and Zip accept input from multiple producers and combine them into a single output tuple. This facilitates implementing transforms that require input from multiple sources. The new repeating transforms, respectively, let you repeat an intermittent input at regular intervals. NMEA 2000, for example, expects that PGNs are transmitted at constant intervals, and the new RepeatConstantRate transform simplifies that job a lot. See the PR here: https://github.com/SignalK/SensESP/pull/703. I'll keep it open for a few days in case someone would be interested to review it....

Lure - Newbie in SensESP world: I have successf...

Newbie in SensESP world: I have successfully configured my SensESP template project, connected it to WiFi on which also Cerbo GX with SignalK 2.8.0 is running. SensESP discovers SK server via mDNS, but then cannot connect. Will add error messages to thread to not clutter this channel....

Matti Airas - I've been using a helper script t...

I've been using a helper script to manage and build the SensESP v3 project. @Claude's DM question led me to realize I forgot to add the script to the repo. DOH. It's now there. The run script includes a bunch of subcommands that you can execute like: ./run build...

MV 2 Umbrellas - been fiddling with this stuff ...

been fiddling with this stuff for 24 hours now ... I have the sample project template working and seeing the data in the signalk data browser if I have a sensor that has a 0-10v range for min/max ... and want to map that to 0-100 ... how does the scale factor in the AnalogInput let me do that?...

barnaclebill - Has anyone successfully used an ...

Has anyone successfully used an ESP32S2 with the n2k libraries? Apparently the CAN bus was "renamed" TWAI so the interface is slightly different.