Hi.
While playing with your daemon, i have got some tons of errors.
Is there any way to fix it?
For example sending wiki or joke make this:
Unexpected error in deferred execution <class 'requests.exceptions.JSONDecodeError'>
Traceback (most recent call last):
File "/home/service5/meshing-around/venv/lib/python3.11/site-packages/requests/models.py", line 976, in json
return complexjson.loads(self.text, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/json/__init__.py", line 346, in loads
return _default_decoder.decode(s)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/json/decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/service5/meshing-around/venv/lib/python3.11/site-packages/meshtastic/util.py", line 309, in _run
o()
File "/home/service5/meshing-around/venv/lib/python3.11/site-packages/meshtastic/mesh_interface.py", line 1638, in
lambda: pub.sendMessage(topic, packet=asDict, interface=self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/service5/meshing-around/venv/lib/python3.11/site-packages/pubsub/core/publisher.py", line 216, in sendMessage
topicObj.publish(**msgData)
File "/home/service5/meshing-around/venv/lib/python3.11/site-packages/pubsub/core/topicobj.py", line 452, in publish
self.__sendMessage(msgData, topicObj, msgDataSubset)
File "/home/service5/meshing-around/venv/lib/python3.11/site-packages/pubsub/core/topicobj.py", line 482, in __sendMessage
listener(data, self, allData)
File "/home/service5/meshing-around/venv/lib/python3.11/site-packages/pubsub/core/listener.py", line 237, in call
cb(**kwargs)
File "/home/service5/meshing-around/mesh_bot.py", line 1354, in onReceive
send_message(tell_joke(), channel_number, message_from_id, rxNode)
^^^^^^^^^^^
File "/home/service5/meshing-around/modules/games/joke.py", line 124, in tell_joke
renderedLaugh = dadjoke.joke
^^^^^^^^^^^^
File "/home/service5/meshing-around/venv/lib/python3.11/site-packages/dadjokes/dadjokes.py", line 91, in joke
self._get_joke()
File "/home/service5/meshing-around/venv/lib/python3.11/site-packages/dadjokes/dadjokes.py", line 58, in _get_joke
response = response.json()
^^^^^^^^^^^^^^^
File "/home/service5/meshing-around/venv/lib/python3.11/site-packages/requests/models.py", line 980, in json
raise RequestsJSONDecodeError(e.msg, e.doc, e.pos)
requests.exceptions.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
2025-09-30 01:17:13,166 | INFO | Device:1 Channel: 0 Received DM: Joke From: ZedIsPb
2025-09-30 01:17:13,170 | DEBUG | System: Bot detected Commands:[{'cmd': 'joke', 'index': 0}] From: ZedIsPb
Unexpected error in deferred execution <class 'requests.exceptions.JSONDecodeError'>
Traceback (most recent call last):
File "/home/service5/meshing-around/venv/lib/python3.11/site-packages/requests/models.py", line 976, in json
return complexjson.loads(self.text, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/json/__init__.py", line 346, in loads
return _default_decoder.decode(s)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/json/decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/service5/meshing-around/venv/lib/python3.11/site-packages/meshtastic/util.py", line 309, in _run
o()
File "/home/service5/meshing-around/venv/lib/python3.11/site-packages/meshtastic/mesh_interface.py", line 1638, in
lambda: pub.sendMessage(topic, packet=asDict, interface=self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/service5/meshing-around/venv/lib/python3.11/site-packages/pubsub/core/publisher.py", line 216, in sendMessage
topicObj.publish(**msgData)
File "/home/service5/meshing-around/venv/lib/python3.11/site-packages/pubsub/core/topicobj.py", line 452, in publish
self.__sendMessage(msgData, topicObj, msgDataSubset)
File "/home/service5/meshing-around/venv/lib/python3.11/site-packages/pubsub/core/topicobj.py", line 482, in __sendMessage
listener(data, self, allData)
File "/home/service5/meshing-around/venv/lib/python3.11/site-packages/pubsub/core/listener.py", line 237, in call
cb(**kwargs)
File "/home/service5/meshing-around/mesh_bot.py", line 1319, in onReceive
send_message(auto_response(message_string, snr, rssi, hop, pkiStatus, message_from_id, channel_number, rxNode, isDM), channel_number, message_from_id, rxNode)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/service5/meshing-around/mesh_bot.py", line 142, in auto_response
bot_response = command_handlercmds[0]['cmd']
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/service5/meshing-around/mesh_bot.py", line 65, in
"joke": lambda: tell_joke(message_from_id),
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/service5/meshing-around/modules/games/joke.py", line 124, in tell_joke
renderedLaugh = dadjoke.joke
^^^^^^^^^^^^
File "/home/service5/meshing-around/venv/lib/python3.11/site-packages/dadjokes/dadjokes.py", line 91, in joke
self._get_joke()
File "/home/service5/meshing-around/venv/lib/python3.11/site-packages/dadjokes/dadjokes.py", line 58, in _get_joke
response = response.json()
^^^^^^^^^^^^^^^
File "/home/service5/meshing-around/venv/lib/python3.11/site-packages/requests/models.py", line 980, in json
raise RequestsJSONDecodeError(e.msg, e.doc, e.pos)
requests.exceptions.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
Hi.
While playing with your daemon, i have got some tons of errors.
Is there any way to fix it?
For example sending wiki or joke make this:
Unexpected error in deferred execution <class 'requests.exceptions.JSONDecodeError'>
Traceback (most recent call last):
File "/home/service5/meshing-around/venv/lib/python3.11/site-packages/requests/models.py", line 976, in json
return complexjson.loads(self.text, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/json/__init__.py", line 346, in loads
return _default_decoder.decode(s)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/json/decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/service5/meshing-around/venv/lib/python3.11/site-packages/meshtastic/util.py", line 309, in _run
o()
File "/home/service5/meshing-around/venv/lib/python3.11/site-packages/meshtastic/mesh_interface.py", line 1638, in <lambda>
lambda: pub.sendMessage(topic, packet=asDict, interface=self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/service5/meshing-around/venv/lib/python3.11/site-packages/pubsub/core/publisher.py", line 216, in sendMessage
topicObj.publish(**msgData)
File "/home/service5/meshing-around/venv/lib/python3.11/site-packages/pubsub/core/topicobj.py", line 452, in publish
self.__sendMessage(msgData, topicObj, msgDataSubset)
File "/home/service5/meshing-around/venv/lib/python3.11/site-packages/pubsub/core/topicobj.py", line 482, in __sendMessage
listener(data, self, allData)
File "/home/service5/meshing-around/venv/lib/python3.11/site-packages/pubsub/core/listener.py", line 237, in __call__
cb(**kwargs)
File "/home/service5/meshing-around/mesh_bot.py", line 1354, in onReceive
send_message(tell_joke(), channel_number, message_from_id, rxNode)
^^^^^^^^^^^
File "/home/service5/meshing-around/modules/games/joke.py", line 124, in tell_joke
renderedLaugh = dadjoke.joke
^^^^^^^^^^^^
File "/home/service5/meshing-around/venv/lib/python3.11/site-packages/dadjokes/dadjokes.py", line 91, in joke
self._get_joke()
File "/home/service5/meshing-around/venv/lib/python3.11/site-packages/dadjokes/dadjokes.py", line 58, in _get_joke
response = response.json()
^^^^^^^^^^^^^^^
File "/home/service5/meshing-around/venv/lib/python3.11/site-packages/requests/models.py", line 980, in json
raise RequestsJSONDecodeError(e.msg, e.doc, e.pos)
requests.exceptions.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
2025-09-30 01:17:13,166 | INFO | Device:1 Channel: 0 Received DM: Joke From: ZedIsPb
2025-09-30 01:17:13,170 | DEBUG | System: Bot detected Commands:[{'cmd': 'joke', 'index': 0}] From: ZedIsPb
Unexpected error in deferred execution <class 'requests.exceptions.JSONDecodeError'>
Traceback (most recent call last):
File "/home/service5/meshing-around/venv/lib/python3.11/site-packages/requests/models.py", line 976, in json
return complexjson.loads(self.text, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/json/__init__.py", line 346, in loads
return _default_decoder.decode(s)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/json/decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/service5/meshing-around/venv/lib/python3.11/site-packages/meshtastic/util.py", line 309, in _run
o()
File "/home/service5/meshing-around/venv/lib/python3.11/site-packages/meshtastic/mesh_interface.py", line 1638, in <lambda>
lambda: pub.sendMessage(topic, packet=asDict, interface=self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/service5/meshing-around/venv/lib/python3.11/site-packages/pubsub/core/publisher.py", line 216, in sendMessage
topicObj.publish(**msgData)
File "/home/service5/meshing-around/venv/lib/python3.11/site-packages/pubsub/core/topicobj.py", line 452, in publish
self.__sendMessage(msgData, topicObj, msgDataSubset)
File "/home/service5/meshing-around/venv/lib/python3.11/site-packages/pubsub/core/topicobj.py", line 482, in __sendMessage
listener(data, self, allData)
File "/home/service5/meshing-around/venv/lib/python3.11/site-packages/pubsub/core/listener.py", line 237, in __call__
cb(**kwargs)
File "/home/service5/meshing-around/mesh_bot.py", line 1319, in onReceive
send_message(auto_response(message_string, snr, rssi, hop, pkiStatus, message_from_id, channel_number, rxNode, isDM), channel_number, message_from_id, rxNode)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/service5/meshing-around/mesh_bot.py", line 142, in auto_response
bot_response = command_handler[cmds[0]['cmd']]()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/service5/meshing-around/mesh_bot.py", line 65, in <lambda>
"joke": lambda: tell_joke(message_from_id),
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/service5/meshing-around/modules/games/joke.py", line 124, in tell_joke
renderedLaugh = dadjoke.joke
^^^^^^^^^^^^
File "/home/service5/meshing-around/venv/lib/python3.11/site-packages/dadjokes/dadjokes.py", line 91, in joke
self._get_joke()
File "/home/service5/meshing-around/venv/lib/python3.11/site-packages/dadjokes/dadjokes.py", line 58, in _get_joke
response = response.json()
^^^^^^^^^^^^^^^
File "/home/service5/meshing-around/venv/lib/python3.11/site-packages/requests/models.py", line 980, in json
raise RequestsJSONDecodeError(e.msg, e.doc, e.pos)
requests.exceptions.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
<!-- github-sync-id:3466848471 -->
Low power for who?
Rpi works flawlessly, heltec itself also looks alive, as sending cmd after it works just fine with answers.
Low power for who?
Rpi works flawlessly, heltec itself also looks alive, as sending cmd after it works just fine with answers.
<!-- github-comment-id:3350006657 -->
2025-09-30 19:32:52,589 | WARNING | Device:1 Ignoring DM: wiki From: ZedIsDed
2025-09-30 19:32:52,590 | INFO | Device:1 Sending DM: MeshBot, here for you like a friend who is not. Try sending: ping @foo or, cmd To: ZedIsDed
Sent wiki command then:
2025-09-30 19:32:52,589 | WARNING | Device:1 Ignoring DM: wiki From: ZedIsDed
2025-09-30 19:32:52,590 | INFO | Device:1 Sending DM: MeshBot, here for you like a friend who is not. Try sending: ping @foo or, cmd To: ZedIsDed
<!-- github-comment-id:3352978358 -->
Are you in a restricted internet area? Also use command wiki: not just wiki the results can be so wild I don’t normally recommend using wiki in the wild why it’s weird
Are you in a restricted internet area? Also use command wiki: not just wiki the results can be so wild I don’t normally recommend using wiki in the wild why it’s weird
<!-- github-comment-id:3353011302 -->
Ahh thank you, if the LLM is set to respond and can't or didn't it may result in a joke if enabled.
So, llmReplyToNonCommands = False should resolve it if unwanted.
This isn't clear at all.
Ahh thank you, if the LLM is set to respond and can't or didn't it may result in a joke if enabled.
So, `llmReplyToNonCommands = False` should resolve it if unwanted.
This isn't clear at all.
<!-- github-comment-id:3353213530 -->
No idea of what do you mean.
Does you bot need some internet connection?
Rpi connected to the cloudflare, for sure can access the internet as I loaded your bot from git.
Also use command wiki: not just wiki the results can be so wild I don’t normally recommend using wiki in the wild why it’s weird
Hm, is there any way to disable this command?
> Are you in a restricted internet area?
No idea of what do you mean.
Does you bot need some internet connection?
Rpi connected to the cloudflare, for sure can access the internet as I loaded your bot from git.
> Also use command wiki: not just wiki the results can be so wild I don’t normally recommend using wiki in the wild why it’s weird
Hm, is there any way to disable this command?
<!-- github-comment-id:3353354167 -->
The errors you found here are due to my failure to trap no internet.
You may need to request firewall rule changes?
wikipedia = False
The errors you found here are due to my failure to trap no internet.
You may need to request firewall rule changes?
`wikipedia = False`
<!-- github-comment-id:3353597014 -->
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Hi.
While playing with your daemon, i have got some tons of errors.
Is there any way to fix it?
For example sending wiki or joke make this:
Unexpected error in deferred execution <class 'requests.exceptions.JSONDecodeError'>
Traceback (most recent call last):
File "/home/service5/meshing-around/venv/lib/python3.11/site-packages/requests/models.py", line 976, in json
return complexjson.loads(self.text, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/json/__init__.py", line 346, in loads
return _default_decoder.decode(s)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/json/decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/service5/meshing-around/venv/lib/python3.11/site-packages/meshtastic/util.py", line 309, in _run
o()
File "/home/service5/meshing-around/venv/lib/python3.11/site-packages/meshtastic/mesh_interface.py", line 1638, in
lambda: pub.sendMessage(topic, packet=asDict, interface=self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/service5/meshing-around/venv/lib/python3.11/site-packages/pubsub/core/publisher.py", line 216, in sendMessage
topicObj.publish(**msgData)
File "/home/service5/meshing-around/venv/lib/python3.11/site-packages/pubsub/core/topicobj.py", line 452, in publish
self.__sendMessage(msgData, topicObj, msgDataSubset)
File "/home/service5/meshing-around/venv/lib/python3.11/site-packages/pubsub/core/topicobj.py", line 482, in __sendMessage
listener(data, self, allData)
File "/home/service5/meshing-around/venv/lib/python3.11/site-packages/pubsub/core/listener.py", line 237, in call
cb(**kwargs)
File "/home/service5/meshing-around/mesh_bot.py", line 1354, in onReceive
send_message(tell_joke(), channel_number, message_from_id, rxNode)
^^^^^^^^^^^
File "/home/service5/meshing-around/modules/games/joke.py", line 124, in tell_joke
renderedLaugh = dadjoke.joke
^^^^^^^^^^^^
File "/home/service5/meshing-around/venv/lib/python3.11/site-packages/dadjokes/dadjokes.py", line 91, in joke
self._get_joke()
File "/home/service5/meshing-around/venv/lib/python3.11/site-packages/dadjokes/dadjokes.py", line 58, in _get_joke
response = response.json()
^^^^^^^^^^^^^^^
File "/home/service5/meshing-around/venv/lib/python3.11/site-packages/requests/models.py", line 980, in json
raise RequestsJSONDecodeError(e.msg, e.doc, e.pos)
requests.exceptions.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
2025-09-30 01:17:13,166 | INFO | Device:1 Channel: 0 Received DM: Joke From: ZedIsPb
2025-09-30 01:17:13,170 | DEBUG | System: Bot detected Commands:[{'cmd': 'joke', 'index': 0}] From: ZedIsPb
Unexpected error in deferred execution <class 'requests.exceptions.JSONDecodeError'>
Traceback (most recent call last):
File "/home/service5/meshing-around/venv/lib/python3.11/site-packages/requests/models.py", line 976, in json
return complexjson.loads(self.text, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/json/__init__.py", line 346, in loads
return _default_decoder.decode(s)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/json/decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/service5/meshing-around/venv/lib/python3.11/site-packages/meshtastic/util.py", line 309, in _run
o()
File "/home/service5/meshing-around/venv/lib/python3.11/site-packages/meshtastic/mesh_interface.py", line 1638, in
lambda: pub.sendMessage(topic, packet=asDict, interface=self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/service5/meshing-around/venv/lib/python3.11/site-packages/pubsub/core/publisher.py", line 216, in sendMessage
topicObj.publish(**msgData)
File "/home/service5/meshing-around/venv/lib/python3.11/site-packages/pubsub/core/topicobj.py", line 452, in publish
self.__sendMessage(msgData, topicObj, msgDataSubset)
File "/home/service5/meshing-around/venv/lib/python3.11/site-packages/pubsub/core/topicobj.py", line 482, in __sendMessage
listener(data, self, allData)
File "/home/service5/meshing-around/venv/lib/python3.11/site-packages/pubsub/core/listener.py", line 237, in call
cb(**kwargs)
File "/home/service5/meshing-around/mesh_bot.py", line 1319, in onReceive
send_message(auto_response(message_string, snr, rssi, hop, pkiStatus, message_from_id, channel_number, rxNode, isDM), channel_number, message_from_id, rxNode)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/service5/meshing-around/mesh_bot.py", line 142, in auto_response
bot_response = command_handlercmds[0]['cmd']
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/service5/meshing-around/mesh_bot.py", line 65, in
"joke": lambda: tell_joke(message_from_id),
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/service5/meshing-around/modules/games/joke.py", line 124, in tell_joke
renderedLaugh = dadjoke.joke
^^^^^^^^^^^^
File "/home/service5/meshing-around/venv/lib/python3.11/site-packages/dadjokes/dadjokes.py", line 91, in joke
self._get_joke()
File "/home/service5/meshing-around/venv/lib/python3.11/site-packages/dadjokes/dadjokes.py", line 58, in _get_joke
response = response.json()
^^^^^^^^^^^^^^^
File "/home/service5/meshing-around/venv/lib/python3.11/site-packages/requests/models.py", line 980, in json
raise RequestsJSONDecodeError(e.msg, e.doc, e.pos)
requests.exceptions.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
looks like some wacky connectivity issues, low power causing problems?
Low power for who?
Rpi works flawlessly, heltec itself also looks alive, as sending cmd after it works just fine with answers.
Power on the node, I did patch these errors to look better.
I can't replicate issue.
For sure it is not power issue, as i tried 2 heltec nodes for different usb-c power sources.
After updates rerun and joke run:
2025-09-30 19:30:42,172 | DEBUG | System: Logging System Logs to disk
2025-09-30 19:30:42,173 | DEBUG | System: BBS Enabled, data/bbsdb.pkl has 1 messages. Direct Mail Messages waiting: 0
2025-09-30 19:30:42,174 | DEBUG | System: Celestial Telemetry Enabled
2025-09-30 19:30:42,175 | DEBUG | System: Location Telemetry Enabled using NOAA API
2025-09-30 19:30:42,175 | DEBUG | System: Dad Jokes Enabled!
2025-09-30 19:30:42,176 | DEBUG | System: Games Enabled!
2025-09-30 19:30:42,177 | DEBUG | System: Wikipedia search Enabled
2025-09-30 19:30:42,178 | DEBUG | System: MOTD Enabled using Thanks for using MeshBOT! Have a good day!
2025-09-30 19:30:42,178 | DEBUG | System: Sentry Mode Enabled 100m radius reporting to channel:2
2025-09-30 19:30:42,179 | DEBUG | System: HighFly Enabled using 2000m limit reporting to channel:2
2025-09-30 19:30:42,180 | DEBUG | System: Store and Forward Enabled using limit: 3
2025-09-30 19:30:42,180 | DEBUG | System: Respond by DM only
2025-09-30 19:30:42,181 | DEBUG | System: Ignoring Channels: ['']
2025-09-30 19:31:02,910 | DEBUG | Telemetry:1 numPacketsRx:0 numPacketsRxErr:0 numPacketsTx:0 numPacketsTxErr:0 ChUtil%:19.4 AirTx%:2.2 totalNodes:47 Online:0 Uptime:10h Volt:4.2 Firmware:2.6.11.60ec05e
2025-09-30 19:31:07,588 | INFO | Device:1 Channel: 0 Received DM: joke From: ZedIsDed
2025-09-30 19:31:07,590 | DEBUG | System: Bot detected Commands:[{'cmd': 'joke', 'index': 0}] From: ZedIsDed
2025-09-30 19:31:08,083 | ERROR | Error accessing dadjokes: Expecting value: line 1 column 1 (char 0)
2025-09-30 19:31:10,293 | INFO | Device:1 Sending DM: Why did the banana go to the doctor? Because it wasn't peeling well. To: ZedIsDed
Sent wiki command then:
2025-09-30 19:32:52,589 | WARNING | Device:1 Ignoring DM: wiki From: ZedIsDed
2025-09-30 19:32:52,590 | INFO | Device:1 Sending DM: MeshBot, here for you like a friend who is not. Try sending: ping @foo or, cmd To: ZedIsDed
Are you in a restricted internet area? Also use command wiki: not just wiki the results can be so wild I don’t normally recommend using wiki in the wild why it’s weird
No idea of what is giong on here, but for some moment when i sent q into DM, bot sends me a joke.
Is it normal?
2025-09-30 19:41:21,111 | DEBUG | Telemetry:1 numPacketsRx:3947 numPacketsRxErr:0 numPacketsTx:878 numPacketsTxErr:0 ChUtil%:12.9 AirTx%:2.3 totalNodes:47 Online:33 Uptime:10h Volt:4.2 Firmware:2.6.11.60ec05e
2025-09-30 19:51:40,712 | DEBUG | Telemetry:1 numPacketsRx:4060 numPacketsRxErr:0 numPacketsTx:901 numPacketsTxErr:0 ChUtil%:1.9 AirTx%:2.4 totalNodes:47 Online:31 Uptime:11h Volt:4.2 Firmware:2.6.11.60ec05e
2025-09-30 20:01:59,918 | DEBUG | Telemetry:1 numPacketsRx:4060 numPacketsRxErr:0 numPacketsTx:901 numPacketsTxErr:0 ChUtil%:14.1 AirTx%:2.3 totalNodes:47 Online:31 Uptime:11h Volt:4.2 Firmware:2.6.11.60ec05e
2025-09-30 20:12:19,028 | DEBUG | Telemetry:1 numPacketsRx:4160 numPacketsRxErr:0 numPacketsTx:925 numPacketsTxErr:0 ChUtil%:6.2 AirTx%:2.2 totalNodes:48 Online:32 Uptime:11h Volt:4.2 Firmware:2.6.11.60ec05e
2025-09-30 20:20:33,598 | INFO | Device:1 Channel:0 Ignoring Message: Nu dopustim test. From: ZedIsDed
2025-09-30 20:21:31,817 | WARNING | Device:1 Ignoring DM: q From: ZedIsDed
2025-09-30 20:21:32,293 | ERROR | Error accessing dadjokes: Expecting value: line 1 column 1 (char 0)
2025-09-30 20:21:32,302 | INFO | Device:1 Sending DM: Why don't scientists trust atoms? Because they make up everything! To: ZedIsDed
2025-09-30 20:22:37,837 | DEBUG | Telemetry:1 numPacketsRx:4253 numPacketsRxErr:0 numPacketsTx:940 numPacketsTxErr:0 ChUtil%:14.4 AirTx%:1.9 totalNodes:48 Online:32 Uptime:11h Volt:4.2 Firmware:2.6.11.60ec05e
Ahh thank you, if the LLM is set to respond and can't or didn't it may result in a joke if enabled.
So,
llmReplyToNonCommands = Falseshould resolve it if unwanted.This isn't clear at all.
No idea of what do you mean.
Does you bot need some internet connection?
Rpi connected to the cloudflare, for sure can access the internet as I loaded your bot from git.
Hm, is there any way to disable this command?
The errors you found here are due to my failure to trap no internet.
You may need to request firewall rule changes?
wikipedia = FalseIt looks like sometimes bot still answers for the command with wrong answer, as user were asks for bbslist but got joke instead:
2025-10-01 11:39:55,761 | DEBUG | System: Bot detected Commands:[{'cmd': 'cmd', 'index': 0}] From: Sirius
2025-10-01 11:39:57,962 | DEBUG | System: Splitting #chunks: 2, Total length: 168
2025-10-01 11:39:57,963 | INFO | Device:1 Chunker1/2 Sending DM: Bot CMD?:ping, bbshelp, bbslist, games, hfcond, howfar, howtall, joke, messages, moon, To: Sirius
2025-10-01 11:40:00,465 | INFO | Device:1 Chunker2/2 Sending DM: CMD?, motd, rlist, sitrep, solar, sun, sysinfo, whereami, whoami, wx, wxa, wxalert To: Sirius
2025-10-01 11:40:33,258 | INFO | Device:1 Channel: 0 Received DM: cmd From: Sirius
2025-10-01 11:40:33,260 | DEBUG | System: Bot detected Commands:[{'cmd': 'cmd', 'index': 0}] From: Sirius
2025-10-01 11:40:35,461 | DEBUG | System: Splitting #chunks: 2, Total length: 168
2025-10-01 11:40:35,462 | INFO | Device:1 Chunker1/2 Sending DM: Bot CMD?:ping, bbshelp, bbslist, games, hfcond, howfar, howtall, joke, messages, moon, To: Sirius
2025-10-01 11:40:37,965 | INFO | Device:1 Chunker2/2 Sending DM: CMD?, motd, rlist, sitrep, solar, sun, sysinfo, whereami, whoami, wx, wxa, wxalert To: Sirius
2025-10-01 11:40:56,868 | WARNING | Device:1 Ignoring DM: ping, ack From: Sirius
2025-10-01 11:40:57,450 | ERROR | Error accessing dadjokes: Expecting value: line 1 column 1 (char 0)
2025-10-01 11:40:57,458 | INFO | Device:1 Sending DM: Why don't scientists trust atoms? Because they make up everything! To: Sirius
2025-10-01 11:42:31,974 | WARNING | Device:1 Ignoring DM: bblist From: Sirius
2025-10-01 11:42:32,463 | ERROR | Error accessing dadjokes: Expecting value: line 1 column 1 (char 0)
2025-10-01 11:42:32,472 | INFO | Device:1 Sending DM: Why don't scientists trust atoms? Because they make up everything! To: Sirius
2025-10-01 11:42:48,970 | INFO | Device:1 Channel: 0 Received DM: bbslist From: Sirius
2025-10-01 11:42:48,972 | DEBUG | System: Bot detected Commands:[{'cmd': 'bbslist', 'index': 0}] From: Sirius
2025-10-01 11:42:51,172 | INFO | Device:1 Sending DM: Msg #1 Welcome to meshBBS To: Sirius
2025-10-01 11:43:18,672 | INFO | Device:1 Channel: 0 Received DM: bbslist From: Sirius
2025-10-01 11:43:18,674 | DEBUG | System: Bot detected Commands:[{'cmd': 'bbslist', 'index': 0}] From: Sirius
2025-10-01 11:43:20,875 | INFO | Device:1 Sending DM: Msg #1 Welcome to meshBBS To: Sirius
I cleaned up that error in latest pull it seems to be working I can't replicate more issues?
Oh, missed it, will update my install.