Hi Hans,

If I am correct you want to control a Homewizard device for which you need a 
Wifi connection using an ESP8266, right?

in 2019 I made a library for the ESP8266. What needs to be done is that you - 
after the module is connected to the Wifi - send data via the serial interface 
tot the ESP8266 which then sends it to your HomeWizard device via Wifi.

Without looking at this in detail I think it should be possible using this JAL 
library.

Kind regards,

Rob


________________________________
Van: [email protected] <[email protected]> namens Hans van 
Veldhuizen <[email protected]>
Verzonden: zondag 12 oktober 2025 08:26
Aan: jallib <[email protected]>
Onderwerp: Re: [jallib] Re: D1 Mini V3.0.0

Hello everyone,
I've deleted my previous message because I've found the creator of this program 
willing to help me. It's working properly now.
With the PIC, I can now send ON/OFF commands, and if the sockets respond 
correctly, I get the message back that I can read with the PIC. A truly 
perfectly working package!!!!!
The world of Arduino remains a stumbling block for me, no matter how simple it 
should be according to the experts. I'm therefore surprised this thing cannot  
be implemented in the PIC/JAL world. If anyone is interested in delving into 
this, I have a PCB lying around that I'd be happy to send to you.
Greetings Hans
https://github.com/gtmans/homewizard<https://github.com/gtmans/homewizard/blob/main/socketswitch/ApiSwitchDual-D1-git.ino>

Op vrijdag 26 september 2025 om 21:49:21 UTC+2 schreef Hans van Veldhuizen:
Hi Vasi,
Wow, what a fantastic package! Very clever, and it's just missing the little 
bit I need! Too bad, but maybe someone else knows.
By the way, I have a few UNOs here that I occasionally use to try out a program 
from the internet.
 But often, it doesn't work.

 On Wednesday, I linked a program for the D1 mini V3 I ordered; let's hope it 
works. Then I can use a PIC instead of the pushbuttons and continue.

https://github.com/gtmans/homewizard/blob/main/socketswitch/ApiSwitchDual-D1-git.ino

Thanks for your reply and regards,
Hans

Op vrijdag 26 september 2025 om 17:31:52 UTC+2 schreef vasi vasi:
Hi Hans,

Unfortunately, my knowledge does not contain the required information. Many 
times ago I developed my own CMS (content manager system or blog) written in 
PHP language and using a MySQL database, then later developed some plug-ins for 
the sNewsCMS (porting also some Wordpress plugins for the same system) but 
after a couple of years I got bored and decided that further web programming is 
not something satisfying enough - that time, my access to Internet was limited 
and expensive. I went back to PC programming in other languages and then 
entered in the embedded world.  Now I gather/realize projects with ATmega 
micros in C, Wiring, LunaAVR and GCBasic (maybe even FreePascal, not decided 
yet) languages for a book. Probably, next is PICO, exactly what I recommended 
to you... Circuit Python and Micro Python are unknown to me for now. I could go 
with C or FreePascal but a future book is the main target.

On Fri, Sep 26, 2025 at 5:49 PM Hans van Veldhuizen <[email protected]> 
wrote:

HELLO Vasil,

If I were 30 years younger, I would definitely embrace your proposal. 
Unfortunately, there are limits.

Another question that you, with all your knowledge, can surely answer.

When I open this on my PC, I get the correct data response from the Homewizard 
socket.

http://<IP ADDRESS>/api/v1/data

also  http://<IP ADDRESS>/api/v1/state        gives   the correct answer

The instruction I used also tells me how to get it to "ÖN", but I can't get it 
to work in a single line on my PC.

http://<IP ADDRESS>/api/v1/state\

-X PUT\

-H "Content-Type: application/json"\

-d '{"power_on": true}'



Perhaps you can do that and would like to tell me.

Thanks in advance.

Regards Hans

Op vrijdag 26 september 2025 om 12:20:08 UTC+2 schreef vasi vasi:
Hans,

It will be much easier for you to learn CircuitPython and use a Raspberry Pi 
Pico board with WiFi support than torture yourself with Jal and PIC...  Then, 
along the way, you can migrate to MicroPython for complete freedom and a plus 
of performance.

I think this is the best long term solution for Jal users that cannot learn 
C/C++/Wiring.  I thought and searched for solutions and there is no other 
solution better than this. There is FreePascal for Pico boards but it has so 
limited support that you cannot call that a solution.

If you cannot enter in the wonderful world of craftsmen using Arduino, then 
skip it altogether for the next world that uses PICO boards with CircuitPython. 
That is the future you are about to miss if chose not to act.

https://learn.adafruit.com/networking-in-circuitpython/networking-with-the-wifi-module

https://docs.circuitpython.org/en/latest/shared-bindings/wifi/index.html

Ask ChatGPT to translate that source you linked to, into CircuitPython source. 
See if it is easier for you to understand and use. Act accordingly.


On Thu, Sep 25, 2025 at 10:28 PM Hans van Veldhuizen <[email protected]> 
wrote:
I found something I'd like to make but that's arduino again;
 
https://github.com/gtmans/homewizard/blob/main/socketswitch/ApiSwitchDual-D1-git.ino

Op woensdag 24 september 2025 om 18:19:54 UTC+2 schreef Hans van Veldhuizen:
Hi everyone,
Has anyone done anything with the D1 Mini V3.0.0 yet?
I found a lot of writing about the WEMOS D1 Mini V3.0.0, but that was all in 
the Arduino world. This thing should also work with AT commands.
Curious!
Regards,
Hans

--
You received this message because you are subscribed to the Google Groups 
"jallib" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/jallib/d95b7f66-0a43-4bfd-bfa2-e054a1d028b9n%40googlegroups.com<https://groups.google.com/d/msgid/jallib/d95b7f66-0a43-4bfd-bfa2-e054a1d028b9n%40googlegroups.com?utm_medium=email&utm_source=footer>.


--
Vasi

--
You received this message because you are subscribed to the Google Groups 
"jallib" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/jallib/934b98bb-3fa0-48c5-936d-9a14b850e81en%40googlegroups.com<https://groups.google.com/d/msgid/jallib/934b98bb-3fa0-48c5-936d-9a14b850e81en%40googlegroups.com?utm_medium=email&utm_source=footer>.


--
Vasi

--
You received this message because you are subscribed to the Google Groups 
"jallib" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to 
[email protected]<mailto:[email protected]>.
To view this discussion visit 
https://groups.google.com/d/msgid/jallib/8375c678-41b8-4472-a4e1-d16d63e86e1dn%40googlegroups.com<https://groups.google.com/d/msgid/jallib/8375c678-41b8-4472-a4e1-d16d63e86e1dn%40googlegroups.com?utm_medium=email&utm_source=footer>.

-- 
You received this message because you are subscribed to the Google Groups 
"jallib" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/jallib/AM7PR02MB6098FA6023C2C085DF6E5C65E6EDA%40AM7PR02MB6098.eurprd02.prod.outlook.com.

Reply via email to