I am having trouble finding an MQTT library to add IOT functionality to an application.
Is there a library/module to allow MQTT messaging in Gabas3 ?
Or ... has anyone written an MQTT application? if so, how did you "publish" and "subscribe" to messages?
cheers
Search found 20 matches
- Sunday 11th February 2024 7:32pm
- Forum: General
- Topic: MQTT Library for Gambas3
- Replies: 2
- Views: 648
- Thursday 28th December 2023 3:46pm
- Forum: General
- Topic: Access Denied when launching a Shell file
- Replies: 6
- Views: 1464
Re: Access Denied when launching a Shell file
I simplified the troubleshooting as much as possible and added two test lines as suggested by Bruce. I created a "Hello World" script called Hello.py and placed it on the desktop.( It runs fine in the linux shell) When I call the file from Gambas using "Shell" I get the following...
- Thursday 28th December 2023 2:32am
- Forum: General
- Topic: Access Denied when launching a Shell file
- Replies: 6
- Views: 1464
Access Denied when launching a Shell file
Hi All, When the "Launch" button is pressed, this code would launch an external Python script. It worked just fine for some time. Now whenever I try to get Gambas3 to run an external Python file (any file), I get the error message shown below referring to : Permission denied . Does anyone ...
- Monday 25th December 2023 3:38pm
- Forum: General
- Topic: Run a function at a certain time of day
- Replies: 2
- Views: 4486
Re: Run a function at a certain time of day
To clarify the logic.... When the [START] button is clicked, the code in the button event is an endless loop which monitors stuff (say... greenhouse environment). Within the loop is a the "time of day" snippet which calls a subroutine to save some data to a file every day at 1:30 pm. Thank...
- Sunday 24th December 2023 7:33pm
- Forum: General
- Topic: Run a function at a certain time of day
- Replies: 2
- Views: 4486
Run a function at a certain time of day
Hi All, I'm struggling a bit with this one. Assume I have a subroutine called "run_analysis()" Whats the syntax to call this routine every day at 1:30 PM ? Bonus question: :lol: Whats the syntax to call this routine every day at 1:30 PM ... on weekdays only ? thanks for any help cheers
- Thursday 30th November 2023 3:36am
- Forum: General
- Topic: Days between two dates
- Replies: 3
- Views: 10702
Re: Days between two dates
Bruce and Vuott,
Thanks !
Thanks !
- Wednesday 29th November 2023 8:32pm
- Forum: General
- Topic: Days between two dates
- Replies: 3
- Views: 10702
Days between two dates
Hello,
I'm trying to determine the "date difference" in days between the current day and a future date selected in a Gambas "DateBox" control.
Can anyone offer the proper syntax for comparing / subtracting two dates?
Thanks kindly in advance
I'm trying to determine the "date difference" in days between the current day and a future date selected in a Gambas "DateBox" control.
Can anyone offer the proper syntax for comparing / subtracting two dates?
Thanks kindly in advance
- Wednesday 25th October 2023 1:47pm
- Forum: General
- Topic: View a web page in a standard Gambas GUI application
- Replies: 2
- Views: 7557
Re: View a web page in a standard Gambas GUI application
Thank you BruceS, that worked.
Cheers
Cheers
- Monday 23rd October 2023 8:07pm
- Forum: General
- Topic: View a web page in a standard Gambas GUI application
- Replies: 2
- Views: 7557
View a web page in a standard Gambas GUI application
Hello, Can anyone point me in the right direction regarding which control needs to be dropped into my form in order to display a web page ? Could it be the HtmlView control in the Project --> Properties ..> Components menu ? I did import this control but I can't see any "URL" field in it's...
- Thursday 15th July 2021 1:41pm
- Forum: General
- Topic: Launch and External Application
- Replies: 4
- Views: 3110
Re: Launch and External Application
Thank you all !
This worked for me.
This worked for me.
''Requires the gb.desktop component
Public Sub cmdExec_Click()
Desktop.Open(User.Home &/ "Desktop/App.py", True)
End
Cheers !