Signal K

SK

Signal K

Join the community to ask questions about Signal K and get answers from other members.

Join

questions

announcements

server

specification

plugins-and-webapps

sensors

nmea2000

node-red

wilhelmsk

sensesp

barnaclebill - Has anyone found an accurate com...

Has anyone found an accurate compass/IMU/AHRS for use with SensESP or is pypilot the best choice?

MattNJ - hello, new to this today, steep learni...

hello, new to this today, steep learning curve with Visual Studio Code and SensESP, i have it complied and uploaded, but i cant connect to the webserver 192.168.4.1 this is the Serial Output I am getting:- D (55) configurable.cpp: Saving configuration path /system/hostname to file /qLsPBGc6u2S+SPgr87i11VrDlCE= I (94) configurable.cpp: Could not find configuration for path /System/WiFi Settings D (95) networking.cpp: Enabling Networking D (118) Arduino: Arduino Event: 0 - WIFI_READY...

Tony - Does anyone have sample code to sense vo...

Does anyone have sample code to sense voltage for a duration? SV Topaz has inspired me to hook up some components to capture on/off cycles of bilge pumps using Signalk

Matti Airas - User Offspring (on GitHub, don) h...

User Offspring (on GitHub, don't know whether he's here) has made several code quality improvement PRs against a few SensESP-related repos. (Thanks!!) Inspired by that, I ran the clang-tidy static analysis tool against SensESP proper and fixed a ton of warnings. The result is in this PR: https://github.com/SignalK/SensESP/pull/737 The PR does break some old code because the reactesp namespace needs to be explicitly declared whenever the code is not using reactesp (which is a no-no in header files)....

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....