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

Greg Young - Help with sensESP code ..please 🙂...

Help with sensESP code ..please 🙂 To date all my sensESP projects have used "sensors" and hence reading and sending status, values etc up to signalk. Ive not had any experience with "controlling"something via sensESP.. and have looked in examples .. but didnt find anything comparable. ...

Greg Young - sensESP V3 decided to give V3 an...

@Matti Airas sensESP V3 decided to give V3 another go. cloned (via zip file) the entire github sensESP main branch to my local PC....
No description

Matti Airas - @rszemeti : Yeah, PR would be gre...

@rszemeti : Yeah, PR would be great. Need to have a closer look at the negative pressures. Two things come to my mind - if it's about the pressure going negative only when "connection breaks" (which connection?), could it be about an N2K invalid value being interpreted as an actual numeric value? Or if there's a CurveInterpolator involved, it is extrapolating the values beyond the endpoints, I believe.

Greg Young - trying to update older but working...

trying to update older but working sensESP working unit, built on 2.6.0 , i want to change to wifi etc credentials (which at the time i hardcoded into main.cpp) cant get it to update? ive changed the credentials in main.cpp under app builder section.. ...

Matti Airas - And here comes!I just released ...

And here comes! I just released SensESP v3.0.0-beta.4. This time I hope all essential and/or non-essential breaking changes have been made, honest! The latest release includes a lot of changes. Web UI configuration has been changed substantially. Previously, any objects that inherited from Configurable and that had a non-empty config_path were rendered as a config card. This approach mixed the embedded class implementation with presentation issues and made things like custom configuration schema more complex than necessary. In the latest version, Configurable has been replaced with a ConfigItem factory that needs to be called for every item you want on display. See for example the constant_sensor.cpp example for a practical example....

Matti Airas - Upcoming changes to SensESP: Refa...

Upcoming changes to SensESP: Refactoring of how web UI configuration cards are defined in the C++ code. So far, any class inheriting from Configurable and having a config path defined would expose a REST API endpoint for GETting and PUTting its configuration, and if it has a config schema defined, a config card would also be rendered in the UI. This approach has the problem that the configuration UI definition is tightly tied to the object, breaking the single responsibility principle and making some things more messy than necessary. I made a PR for refactoring this: now, all config items need to be defined explicitly by calling ConfigItem(obj). The returned pointer can be used to chain other settings together: ```c++...

FlyingK - Got my test setup up and running. Tha...

Got my test setup up and running. Thank you so much @Matti Airas for SensESP v3 and the VEDirect input. I wouldn’t have been able to build an external epaper display for the Victron Smart Shunt and a bme280 sensor and send the data to signalk as well without your work.
No description

FlyingK - I am struggling with the ObservableVa...

I am struggling with the ObservableValue concept. I managed to get the VEDirect Input Parser up and running and I see output logged to Serial. I need to get the data not only to SignalK but also use it "locally" on the esp32 with an epaper display. I tried to create a custom FloatConsumer to log to Serial for testing and connect the consumer but I don't see anything logged. ```class VoltageConsumer : public FloatConsumer { public: void set(const float new_value) {...

FlyingK - I had some time to start testing Sens...

I had some time to start testing SensESP v3 with the latest beta version. I had to do a couple of extra steps before ./run install-frontend to get the frontend working.
cd frontend-plugins/sample-plugin-js
pnpm install
pnpm run build
cd frontend-plugins/sample-plugin-js
pnpm install
pnpm run build
...

Matti Airas - Hey all, sorry about my relative ...

Hey all, sorry about my relative silence here. I have now released a new beta.3 version of SensESP v3. This, again, has some breaking changes (see the README) but nothing that should affect regular end-user code. I'll bump the related libraries as well. I have one final thing which I want to change before releasing v3: the configuration Json schema that defines the web UI forms should be decoupled from the internal Configurable class. This should result in one more beta version before the final release....

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

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
Next