Skip to content

Add build for T1000-E as sensor - #16

Closed
kng wants to merge 1 commit into
IoTThinks:PowerSaving-v17from
kng:t1000e_sensor
Closed

Add build for T1000-E as sensor#16
kng wants to merge 1 commit into
IoTThinks:PowerSaving-v17from
kng:t1000e_sensor

Conversation

@kng

@kng kng commented Sep 2, 2026

Copy link
Copy Markdown

I'm experimenting a bit with the gps powersaving mode to get a useful tracking device that doesn't drain the battery so fast.

Signed-off-by: Daniel Ekman <knegge@gmail.com>
@IoTThinks

Copy link
Copy Markdown
Owner

I'm sorry I didn't see this PR as Github has not notified me.
I accidentially added it too when a user requested me to build for it yesterday.
https://github.com/IoTThinks/MeshCore/blob/PowerSaving-v17/variants/t1000-e/platformio.ini#L132

BTW, I added code to enable PowerSaving for sensors too.
This is the build for T1000e sensor.
https://github.com/IoTThinks/EasySkyMesh/releases/tag/PowerSaving17.1
image

Hope, you can contribute next time.
Please ping me via Discord if I don't reply within a day.
https://discord.gg/7bjqdrCAZ

@IoTThinks IoTThinks closed this Sep 5, 2026
@IoTThinks

Copy link
Copy Markdown
Owner

BTW, the default GPS in sensor will sync only once a day like in repeater.
I haven't changed the setting for sensor yet.

You can change here if you want https://github.com/IoTThinks/MeshCore/blob/PowerSaving-v17/examples/simple_sensor/main.cpp#L120

We should make it configurable in CLI for sensor and repeater.

// GPS on and off duration in seconds
    sensors.getLocationProvider()->setPowerSavingProfile(600, 86400); // Max 10 minutes, 1 day

@kng

kng commented Sep 5, 2026

Copy link
Copy Markdown
Author

Hi,
Yes I have been disabling the gps powersaving profile and trying to get it to do the internal periodic mode.

Agree that it should be controllable over cli/remote. I think once per day is good for repeaters, but maybe not so good for something that you want to track.
One possiblility is to fire the gps up when it gets a telemetry position request so the next telemetry contains a good position.
Adding cli to fire the gps up is pretty cumbersome if you want to do it from a mobile companion, costs more packets as well.

Regarding the periodic mode, it doesn't seem to get the command or I have done something wrong, tried:
nmea.sendSentence("$PAIR690,1,5,55,48,72");
after a small delay, last in the start_gps() function.

The GPIO stuff also seems to power down the gps module completely causing it to take something like 30s to find position. I think some of the pins could remain enabled, like letting it do the RTC mode $PAIR650,0, and not hard resetting it.

@kng
kng deleted the t1000e_sensor branch September 5, 2026 17:18
@IoTThinks

Copy link
Copy Markdown
Owner

Serial commands to on off GPS using warm start do not work for me. At least for L76K GPS.

So I have to on / off the GPS module.

You may explore more and I would be very happy if serial commands to enter warm start for quicker on / off.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants