Introducing Annex Version 1.50.8 and New Websites for Updates and Flashing

The Annex CNN channel
lyizb
Posts: 101
Joined: Fri Feb 12, 2021 8:23 pm
Has thanked: 43 times
Been thanked: 25 times

Re: Introducing Annex Version 1.50.8 and New Websites for Updates and Flashing

Post by lyizb »

No extra spaces, but I was able to get a fixed IP on the second ESP32 S2Mini by following the same process--delete the fixed IP and restart to get a DHCP-provided IP, go into CONFIG at that IP and add the fixed IP address, save and restart. Whew.
User avatar
PeterN
Posts: 392
Joined: Mon Feb 08, 2021 7:56 pm
Location: Krefeld, Germany
Has thanked: 184 times
Been thanked: 220 times
Contact:

Re: Introducing Annex Version 1.50.8 and New Websites for Updates and Flashing

Post by PeterN »

[Local Link Removed for Guests] wrote: [Local Link Removed for Guests]Sun Sep 24, 2023 5:05 pm
[Local Link Removed for Guests] wrote: [Local Link Removed for Guests]Sun Sep 24, 2023 4:46 pm
[Local Link Removed for Guests] wrote: [Local Link Removed for Guests]Sun Sep 24, 2023 4:19 pmHow would I use DHCP? Leave IP address blank?
Yes
That worked--but I always use fixed IPs. Any idea why that wouldn't work (it did for the three ESP32 D1Minis)?

I was able to go into CONFIG for the DHCP address given, change it to the fixed IP I wanted, save it and restart. Then I had the desired fixed IP.

Strange.
For fixed IP assignment, it is best to avoid the range of DHCP addresses that your router can/will provide. This range can be set in the router.
The router will try to reassign an address to other devices if it is not (anymore) in its internal list of already assigned IP addresses. So then this address could be assigned to TWO devices at the same time (manually and via DHCP).
If you take an IP address outside this range, there can be no collision if YOU take care that this address is not assigned twice by mistake.
lyizb
Posts: 101
Joined: Fri Feb 12, 2021 8:23 pm
Has thanked: 43 times
Been thanked: 25 times

Re: Introducing Annex Version 1.50.8 and New Websites for Updates and Flashing

Post by lyizb »

My router is set to provide IPs numbering above 199, so I have lots of room in the lower part of the range. There was not a conflict with the numbers I attempted to use (and have now successfully applied).
User avatar
PeterN
Posts: 392
Joined: Mon Feb 08, 2021 7:56 pm
Location: Krefeld, Germany
Has thanked: 184 times
Been thanked: 220 times
Contact:

Re: Introducing Annex Version 1.50.8 and New Websites for Updates and Flashing

Post by PeterN »

Then only the famous strange earth rays remain as a cause, which confused the electrons on their way through the microcontroller;-)
lyizb
Posts: 101
Joined: Fri Feb 12, 2021 8:23 pm
Has thanked: 43 times
Been thanked: 25 times

Re: Introducing Annex Version 1.50.8 and New Websites for Updates and Flashing

Post by lyizb »

There is much weirdness to be encountered on this journey.
User avatar
Electroguard
Posts: 860
Joined: Mon Feb 08, 2021 6:22 pm
Has thanked: 274 times
Been thanked: 322 times

Re: Introducing Annex Version 1.50.8 and New Websites for Updates and Flashing

Post by Electroguard »

What is the wokwi bin update for ?

wokwi.jpg
You do not have the required permissions to view the files attached to this post.
User avatar
cicciocb
Site Admin
Posts: 2055
Joined: Mon Feb 03, 2020 1:15 pm
Location: Toulouse
Has thanked: 439 times
Been thanked: 1354 times
Contact:

Re: Introducing Annex Version 1.50.8 and New Websites for Updates and Flashing

Post by cicciocb »

[Local Link Removed for Guests] wrote: [Local Link Removed for Guests]Tue Oct 10, 2023 9:04 pm What is the wokwi bin update for ?


wokwi.jpg
It is a test version but is not useful as is.
User avatar
PeterN
Posts: 392
Joined: Mon Feb 08, 2021 7:56 pm
Location: Krefeld, Germany
Has thanked: 184 times
Been thanked: 220 times
Contact:

Re: Introducing Annex Version 1.50.8 and New Websites for Updates and Flashing

Post by PeterN »

Experiences with the NETBIOS function.
I just want to give some positive feedback about the experience with a renewed(?), very useful feature:
Interaction with the Windows NETBIOS name service now seems to work reliably.
It takes the AP name in the configuration file to report the name to the Windows name service.
So in my CHROME browser, I can now reliably use:
http://THE_MODULES_NAME/edit or even just THE_MODULES_NAME.

No more trying in vain to remember the IP address or even looking for it in the serial monitor etc!

I haven't yet tested how Windows behaves when two modules are used consecutively or simultaneously that have the same name in the configuration file. So now I pay more attention to unique names in the config :-)

Thanks to Francesco
efalken
Posts: 38
Joined: Tue Mar 02, 2021 3:47 pm
Has thanked: 17 times
Been thanked: 27 times

Re: Introducing Annex Version 1.50.8 and New Websites for Updates and Flashing

Post by efalken »

Hi Ciccio,
it's me again, struggeling with MQTT.
I am on the newest ESP32 release 1.51.1 lfs
I want to publish a message to the mosquitto broker with the retain flag set to make homeassistant recognize the device.
But in the execellent MQTT-Explorer this flag is not shown like on many other messages in my system.
The broker responds normaly as if the message is recieved correctly.
Am I missing something. :shock: :shock: :shock:
If I succeed somehow I will write a post about including Annex devices into homeassistant (the best IoT server around).
Besides my problems I very much apprechiate your work. :!:
Regards
Erhard
User avatar
cicciocb
Site Admin
Posts: 2055
Joined: Mon Feb 03, 2020 1:15 pm
Location: Toulouse
Has thanked: 439 times
Been thanked: 1354 times
Contact:

Re: Introducing Annex Version 1.50.8 and New Websites for Updates and Flashing

Post by cicciocb »

[Local Link Removed for Guests] wrote: [Local Link Removed for Guests]Sat Oct 28, 2023 10:58 am Hi Ciccio,
it's me again, struggeling with MQTT.
I am on the newest ESP32 release 1.51.1 lfs
I want to publish a message to the mosquitto broker with the retain flag set to make homeassistant recognize the device.
But in the execellent MQTT-Explorer this flag is not shown like on many other messages in my system.
The broker responds normaly as if the message is recieved correctly.
Am I missing something. :shock: :shock: :shock:
If I succeed somehow I will write a post about including Annex devices into homeassistant (the best IoT server around).
Besides my problems I very much apprechiate your work. :!:
Regards
Erhard
HI,
please give me a test case that I can use to check the problem.

edit :

I tried to use MQTT Explorer and I confirm that Annex send correctly the flag "retain" :

I used this little example

Code: [Local Link Removed for Guests]

' MQTT SSL test program
' Using mosquitto test server
' a complete help of Annex32 can be found here
' https://cicciocb.com/annex32help/V1.442/

received = 0
onmqtt mqtt_msg
print mqtt.setup("mqtt://test.mosquitto.org", 1)
print mqtt.connect("", "") ' No login / pass required

print mqtt.publish "/AnnexTest", "fromAnnex", 2, 1
wait

image.png
You do not have the required permissions to view the files attached to this post.
Post Reply