topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Thursday March 28, 2024, 6:03 am
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Ath [ switch to compact view ]

Pages: prev1 2 3 4 [5] 6 7 8 9 10 ... 145next
101
The 9.7 aint a value, its two values.
That is dependent on the current Locale. For US locale it is a single number (with fraction) for DE/NL it's an invalid number (thousands separator but not long enough) or two numbers.

According to the specs, defined by vevola, it's better to only use space as a separator, and not care about letters, digits or special characters.

102
My problem for now is 'how to make differences between real words and no words that are between spaces/quotes/point or comma terminated etc etc etc'

I'd replace all CR's and LF's with a space, then reduce any duplicate spaces to single space, trim leading and trailing spaces off and use one of these solutions (Depending on Delphi version used) to split the string into an array, then get the length of that array/list for the number of words.

103
So far you've been provided about 5 possible solutions, but you obviously haven't tried any of them yet.

104
Please try to explain how or where you are going to connect a kvm switch here?

105
I'm also planning to order the parts to make my own solution following the instructions linked to
In most countries there are shops that supply an assortment of AliExpress goods from local stock, their prices are somewhat higher than the Ali prices, of course, but they manage to deliver in days instead of months, on average. You just have to find the right shop in your country :tellme:

106
Are you running PT as Administrator?

107
A few questions to ask yourself:
- How is your computer connected to your router? (Some Wifi connections are really slow, wired is king!)
- Is your router (or in fact the entire chain from signal entrance into the build up to the computer) capable of handling the increased speed? (Some have a WAN port with only 100 MBit/s...) (Seems to be covered)

108
you should be able to connect to it using Remote Desktop Protocol
There are enough free software tools, already mentioned above, that don't need a Windows Pro license.

Assuming the OP hasn't responded for a couple of days, he may already have a solution in place, and just forgot to mention that here. :-\

109
I was thinking a direct connection via a cable

Well, assuming both laptops have an ethernet connector (though that's less and less common for consumer laptops these days), you can connect both to the same router using a cat5e or cat6 cable and have the benefit of the high speed connection for both the connection between the laptops, and the maximum internet speed attainable. The only connection available that's (potentially) faster than ethernet (assuming you have a router with 1 GBit/s ports) is a Wifi 6 connection using 4 antennas on all equipment, but there are not too many laptops providing that kind of wifi setup.

110
Interesting concept :up:

I think it will require at least 2 parts:
  • Computer-side that's monitoring the chat, YouTube counter or whatever
  • Hardware to switch the bulb

For the hardware, many ESP based devices are available, like Sonoff S20/S26 or Shelly, but it may need a firmware replacement as the regular API isn't that easy. I'm currently involved in the development of ESPEasy, that is very usable on ESP8266 and ESP32 based devices. With simple http GET requests you can control such device, but, some assembly required.

I know that a few years back, many developers set up lava lamps to show the commit pre-checks and build results of their CI/CD pipelines, not sure if that is still used much, as it requires physical availability of people to see the lights. Nowadays, with most of development wfh/remote there must be other ways ;D

111
Screenshot Captor / Re: Can Settings be Exported to an ini File?
« on: January 10, 2021, 06:29 AM »
Settings for the regularly installed Screenshot Captor are saved in an .ini file, in directory C:\Users\YOURACCOUNTNAME\Documents\DonationCoder\ScreenshotCaptor, and is called, surprisingly, ScreenshotCaptor.ini
For a portable install it is normally written in the directory where Screenshot Captor is run from. (Unless you wrote in that file where to save the settings, but then you of course would know where that is ;))

So any normal backup of your Documents folder, or portable applications folder, should restore your settings (haven't re-done my settings in ages, they just moved with me on several computer replacements).

112
My laptop will need to dynamically use the two wifi connections for each thread.
Can you please elaborate on that? I'm trying to understand what you want to achieve.

113
N.A.N.Y. 2021 / Re: N.A.N.Y. 2021 - Alternate Mug Design
« on: January 04, 2021, 12:29 AM »
I love the alternative mug designs, almost by default, but this is one you could love to hate ;D
I do like it though :Thmbsup:

114
Living Room / Re: When you make your 100'th Post
« on: January 02, 2021, 05:22 AM »
Relipse scored his 100th post with his NANY 2021 entry!

Screenshot - 02_01_2021 , 12_19_45.png

115
It's scary having your face and voice out there in the public

Kudo's for the effort :Thmbsup:

(I've been avoiding doing that ever since that 'Internet' thing is happening ;D I even hate it to show my face on Teams when in a team-meeting, so usually they just see my profile picture 8))

116
Living Room / Re: Show us a picture of your.. CAR!!!
« on: January 01, 2021, 07:25 AM »
Ah, yes, just over 3 years ago I showed the then new, used VW Golf 5 I bought to commute to my then new job.
Only a year ago, I traded that one in for a newer model, again used, VW Golf 7.
It has all kinds of luxury (at least a lot more than the Golf 5 :D), like full leather interior, heated seats, adaptive cruise-control, key-less entry and go and a great audio system.

These are a few of the promo photo's from the garage I bought it from:

03-32.jpg13-32.jpg

I've not been using it much since March, of course, so it'll probably stay in the family for a long time :)

117
Living Room / Re: Saying goodbye to the old year with a cheer!
« on: January 01, 2021, 05:28 AM »
Now that we've all made it into 2021: Happy New Year

118
(Reserved 2)

119
Installation: Hardware
  • Obtain the ESP controller
  • Connect it to the computer, you may need drivers for the USB to Serial bridge installed on the ESP...
  • Download ESPEasy software from https://github.com/l...lit/ESPEasy/releases (pick the desired download from the Assets expander, ESP32 or ESP82xx)
  • Unpack the zip file to an empty folder
  • When on Windows:
  • Run ESP.Easy.Flasher (yes, it requires admin privileges because of using the COM port directly)
  • Select a bin with 'display' in the name (available since 20201227 release) and matching with the flash size (4M1M for ESP8266 or 4M316k for ESP32) For ESP32 pick the one with 'factory' in the name for initial upload, for later OTA updates use the one without 'factory'
  • Flash to the device (ESP8266 will be set to flash-mode by the flasher, ESP32 must be set to flash-mode by holding the BOOT button, short press EN, then release BOOT)
  • After flashing is complete: Connect to the ESPEasy accesspoint it provides, log in using password configesp it/when asked, and connect it to the desired Wifi accesspoint. Then the unit will reboot. It should display the obtained ip-address after connection, where you can point your browser at
  • There are a lot of settings to be made, give it an appropriate name and unit number (Config tab), to have the current time by enabling NTP (Tools/Advanced, no time server needs to be set) it will fetch from the standard pool, based on the geo-location and DST set.
  • Connect the display to the ESP, and optionally also the touchscreen when available
    DisplayESP8266/ESP32
    VCC3V3
    GNDGND
    CSD0 (gpio-16)
    ResetD4 (gpio-2)
    DCD8 (gpio-15)
    SDI/MOSID7 (gpio-13)
    SCKD5 (gpio-14)
    SDO/MISOD6 (gpio-12)
    Special:.
    LEDVCC or D2 (gpio-4)
    Touchscreen:.
    T_CLKD5 (gpio-14)
    T_CSD3 (gpio-0)
    T_DIND7 (gpio-13)
    T_DOD6 (gpio-12)
    T_IRQn/c
  • Add on the Devices tab a Display - TFT 2.4 inches ILI9341... or Display - eInk with Lolin ePaper screen...
    Screenshot - 31_12_2020 , 15_32_29.png
    (I do not own an eInk display, so no example)
  • Enable the display and set up according to hardware connections
  • Optional: Add on the Devices tab a Touch - XPT2046 on a TFT Display... (Documentation for setting up can be found here)
  • Optional: Add on the Devices tab a Generic - Dummy Device and set up like this:
    Screenshot - 31_12_2020 , 17_12_53.png
  • When the Dummy Device is setup, these names should be set in the zever2tft.json file: "espeasy_task": "Variables" and "espeasy_var": "LastTime", the script will save here the date of the data that is displayed

120
NANY 2021 Entry Information

Application Name Zever2TFT
Version 0.9
Short Description Display Zevercloud solar day-production on a TFT or eInk display
Supported OSes Script: Any OS Supporting Python 3.x, ESPEasy (TFT/eInk/IoT)
Web Page This page (for now)
Download Link (Soon to be) Attached
System Requirements
  • OS Supporting Python 3.x (Windows, Linux/Raspberry Pi, Mac, ...)
  • Additional Python modules: pytz, requests
  • ESP8266 or ESP32 IoT controller unit (Wemos D1, NodeMCU, ESP32 DevkitC, etc.)
  • TFT Display: ILI9341 based tft display (SPI connected)
  • eInk display: IL3897 based e-paper display (SPI connected)
  • Some wires and light soldering skills to connect stuff together
  • (Hardware can be obtained from your local supplier, eBay, Aliexpress, Banggood, etc.)
  • ESPEasy software from https://github.com/letscontrolit/ESPEasy
  • A PC (Windows/Linux/Mac) with USB port to flash the firmware onto the ESP controller (I'm using Windows)
Version History
  • v0.9.0: Dec. 2020: Rework to use changed Zevercloud API :(
  • v0.1.0: Aug. 2020: Initial version
Author Link to Author's Profile page


Description
Having installed a solar systems a few years back, using a ZeverSolar inverter and connected to Zevercloud for easy overview of generated power, and an interest in IoT, I found ESPEasy, and the rather affordable ESP controllers, I thought it would be nice to combine these.
The availability of very affordable TFT display (I bought a 4.3", 65k colors unit), and the requirement for the Zevercloud web interface to re-login every 30 minutes or so to be able to view the current production graph, I searched for, and found, an API to retrieve the graph data in json format.
Now to turn that data into a nice graph... enter: Python :tellme:
I've only sniffed a little at python a few years back, but never actually done anything serious with that, so I took this as an challenge opportunity to learn a few things:
- Python programming
- Turning a bunch of data into a graph
Hence this script was crafted :)

NB: Some assembly required! And command-line skills required! (that should fit with the average audience here 8) :P)

Features
Fetch data from the Zevercloud API
Present that on a TFT (or ePaper) display, connected to an ESP controller
Scale the graph, based on the max available value, so the display is nicely filled

Planned Features
Fix the login issue with the revamped API (No thanks, Zevercloud >:()
Support other Solar power aggregation platforms
Any interesting features I, or other potential users, might think of
A, probably 3D printed, housing for the device

Screenshots

IMG_20200913_184040.jpg
Result of a nice day of solar production

Usage
Installation: Hardware
See next post

Installation: Script
  • Install Python 3
  • Install required python modules: pip install pytz requests
  • Unpack the script and run it once, this will fail, but create an initial settings file: zever2tft.json
  • Retrieve the API key, APP Key and APP Secret values (more details are in the script documentation)
  • Add the values to the settings file, and set up other, display related, settings like size etc. (more details in the script documentation)
  • Run the script, and it should draw the graph of today, or provide a yyyy-mm-dd date as first argument for displaying the graph for that day
  • When all settings are filled, a second run of the script will only update the extra data, not yet sent to the display, unless the scale has to be adjusted

Using the Application
Run the script on a regular basis, f.e. using a scheduler, like cron on Linux (Raspberry Pi?) or Task Scheduler on Windows.

Uninstallation
Stop the scheduler if set
Remove the script
Option ally remove the Python install if no longer needed

Tips
Set the scheduler to run every 5 minutes for a regular update
Setup a display timeout and add a button to wake the display, to extend the display's life expectation
As ESPEasy now also supports the XPT2046 touchscreen, mounted on the TFT unit, this can be configured to wake the display on touch (example to be added here)
Best to get an ESP controller unit that supports micro-usb for power supply and has 4 MB of flash memory, so a) it's easy to connect, and b) ESPEasy can be updated OTA (over the air) from it's web interface

Known Issues
Unfortunately, because of the recently changed API url and lacking any documentation, the login for the new API is not fully tested yet, as the new APP key and APP Secret are yet undefined how to fill (to be resolved asap)

Download will be attached ASAP!

121
You can switch to the beta version without worries, as it just as stable as the regular version. It just has some features that are somewhat less tested ;D
In the beta version I think that it solves the issue of 'hiding' windows on non-visible screens.

122
Screenshot Captor / Re: Disappearing Text and text box
« on: December 27, 2020, 04:20 AM »
What is the font size? If the font is too large it won't show...

123
Have you adjusted the Compatibility/ Change High DPI settings, in the shortcut to the executable?

124
N.A.N.Y. 2021 / Re: PaintedGlass (decorate your desktop)
« on: November 30, 2020, 05:00 AM »
if I made them "click-through" then you wouldn't be able to resize/move them.

Maybe you could enable/disable that by flipping an option (Edit mode?) in the Systray context menu?

125
Screenshot Captor / Re: Getting just a copy ...
« on: November 14, 2020, 05:01 AM »
On the 'Post-Capture Options' preferences page, there is the 'Copy to clipboard' combobox with a choice of what you can copy to the clipboard. I've set it to 'Image bitmap' myself:

Screenshot - 14-11-2020 , 11_58_29.png

Pages: prev1 2 3 4 [5] 6 7 8 9 10 ... 145next