@ajb2k3 thanx for your afford, but that makes no sense. functionality will be same and just needs to be adjusted to the display. we all know that e-ink is different than lcd, so its no help pointing that out.
Posts made by EBKsuper
-
RE: M5paper no longer works with Arduino from new installs
-
RE: M5paper no longer works with Arduino from new installs
I am with you.
I try to get something usefull out my m5coreInk but there is no help/support/documentation out there at all. -
RE: Please Help _ Google Tasks API
@ebksuper just a bump if someone has experience with including google tasks api.
happy monday : ) -
RE: Label Plus
@ajb2k3 awesome! thanx for your work. can you add a direkt link to that FB ? thank you.
-
Please Help _ Google Tasks API
Dear comunity,
I try to crack the nut as a non Programmer but willing to jump hoops... so far no success.
This is why I call for Help.I want´t to connect to Google Tasks via the Google Tasks API.
Yes worked out the API necesserities on google side I do have my secret/key and id and it is active - so I stuck in the code on my core.I stuck on the authenticy routine.
has/knows anybody a working code (preffered M5Flow Blockly) what connects to google api (preffered tasks) and can write a few lines how to manage the google auth routine (preffered on a coreInk).Here is the link to a project by Chromsh on github M5Paper google calendar api, what helped, but I cant connect to google api.
If I understand right I have so send google my credentials and will get back a token from google with that I am authorised to acces the functionality like listing my google task list.I could manage to get data from ntp time, save it to json and call it from there, what is in theory a simmilar process but without any authentication. So as a proof of concept I successfully connect to an API and save/read data from a Json file.
If you want to use the snippet, "FULL SCREEN" is just a "Set screen show" to push the message "updating JSON" on the Label "listen" in the beginning of the "DUMPdata" funktion. The actuall call and save to Json starts with "Init ntptime...". Not shown: I then display this data in a Label by calling a map "get key: "TimeDate" (Text) in map: "loads Json" (Json funktion) +"JSONdata" (Variable)
thank you a lot for any help!
cheers
EBKps: I am on a coreInk but also other core projects connecting succesfull to google api are helping me understanding how it works, I can adjust the code (mostly display related) myself.
#googleapi #esp32 #m5stack #coreink #corepaper #m5flow #blockly #api #json #credentials #key
-
coreInk can but uiflow doesnt
This is a list of things what the COREINK can do but is not supported by UIFLOW.
Please fix.Add to the list.
Correct me if I am wrong.
thanx : )- Text Wrap (error messages display with textwrap - no such function in uiflow)
- Grey colour (m5 test program clock shows greyscale - no such function in uiflow)
- external API (there is one example of the corePaper showing google calendar, connected via the google api - no such function or setup not documented in uiflow)
#coreink #uiflow
-
RE: How do you send an HTTP GET or POST in UI Flow
@ajb2k3 so, what if you are in UIFLOW BLOCKLY mode ? Also the UIFLOW guides are not helping at all.
I recognized that in general all their "documentation" reads like: "yellow is a colour yellow". They absolutely dont explain nothing at all.for the "HTTP REQUEST" function what is expected in the "headers" or "data" column?
-
Battery Status UI FLOW
Hi there,
I could´t find any information about simple tasks like Battery Status.
Maybe other Beginners are looking for such things too, so I poste here.Maybe there is a "Beginner" Section where this example fits more?
Also I don´t know if the math is right, so please comment errors or better solutions.
Thank You : )@ebksuper said in Core Ink battery status:
@ebksuper By digging the web I found a python script what translates to this in UIFLOW / BLOCKLY.
I translated this the best I could to UI FLOW.The mAh are of the specs of CORE INK and my full loaded battery gave out on "get battery voltage" 4242 asuming this translates to 4.2V.
So far it spits out reasonable numbers. I am testing if this is accurate enough to be an indicator when to recharge.Please comment if you found errors or have a more elegant solution to get a Batters Status.
Thanx : )#uiflow #battery #coreink #m5stack #core
-
RE: Core Ink battery status
@ebksuper By digging the web I found a python script what translates to this in UIFLOW / BLOCKLY.
I translated this the best I could to UI FLOW.The mAh are of the specs of CORE INK and my full loaded battery gave out on "get battery voltage" 4242 asuming this translates to 4.2V.
So far it spits out reasonable numbers. I am testing if this is accurate enough to be an indicator when to recharge.Please comment if you found errors or have a more elegant solution to get a Batters Status.
Thanx : )#uiflow #battery #coreink #m5stack #core
-
RE: Core Ink battery status
@leopoldking Hi there, I try to implement such a notice as well. As mentioned here by other, I as well dont care about accuracy, more about a warning when the unit needs to be recharged.
My Full Battery starts at around 4242. so on what number the unit wont be able to turn on?
I display 4 states "100, 75, 50, 25 and LOW BAT" based on values of the "get battery voltage" but I couldn´t find out yet below what voltage the unit is "dead".
- Maybe someone has data on battery usage with the core ink?
- What is the minimum battery voltage the core ink needs to operate?
thanx for any hints
ps:
I implemented a cycle every 4 hrs to "wake up" - "connect to ssid" - "get battery voltage" - "get ntp time and date" - "write ntp to json" - "read json" - "display infos on several labels" - "refresh display (two times and 2 times partial)" - "power off after 3 minutes". Each cycle consumes around 35-40 of that full 4242.#coreink #battery #batterystatus #voltage
-
RE: UI FLOW where to find documentation/functions?
@ajb2k3 Thank you! Do you have a link, please?
-
RE: UI FLOW where to find documentation/functions?
On the Funktion "Power on" and "Deep sleep" I could find these relevant Threads with usefull insights also concerning Paper and Ink:
-
UI FLOW where to find documentation/functions?
Hello Forum : )
I am total newbie, so I couldn´t find anything about the funktion "Restart on" under "Power" in "UIFLOW" flow.m5.stack.com Ver. 1.11.9.
I am using M5 Stack Ink.In general I am looking for a Document/Manual what explains the functions of Programm lines in UI Flow.
Yes, you just press the topic link when in UI Flow and usually it opens a useful website with explanations, but I recognized that not all funktions are covered (like the "Restart on") and I couldn find a complete, up to date Manual in PDF or so where I could search the document and get informations how a funktion works and what parameters are needed.Another example of unclear documentation is the funktion "Set screen HV" on eInk displays where you can set the value 0 or 1 but not explaned what either value does nor if this funktion is needed on every "set screen show" etc. See discussion on "faded" eInk Displays here
I am sure there is Documentation out there, I just couldn't manage to find.
I appreachiate any directions or links to help me out. : )Thank you very much : )
EBK
-
RE: Where is the API ?
@ajb2k3 Yes, very true. anyway it helps me alot to understand and pointing in the right direction. I created a few scripts allready with this I otherwise would never be able to script. So, a big help to me at last. As I mentioned I have Ideas and cases but I am affraid I wont learn propper coding.
So I simply rely on try and error, google and chat gpt. thats my reality.And the Forum is a help too, of course : )
I will try your suggestion about "Bing" as this is A.I. now. In the past that search engine was never of any good help for me, I am affraid.cheers
EBK -
RE: Core Ink screen fades on reset
@fonix232 said in Core Ink screen fades on reset:
basically, dump that 200x200 4b array onto the flash
EDIT:
Found out the "Set Screen HV 0" must be set to "0" I thought "1" means "on" but My screen doesnt fade when set to "0".
Looks much better now : )==
Hi there, I have exact the same "Screen Fading" Problem (out of the Box).
Thank you guys for your insight on this topic.I am new and try to set up the "M5 CORE INK". I try to implement suggestions on this thread. In UI flow I place the "Set Screen HV 1" as @ajb2k3 suggested.
I would apprechiate it alot If you (or any one who knows) could tell me how to implement "Screen Dump" in UI flow. This method anyways will be usefull. I might work with Json Data further in my project anyways.
Thank you all all lot for pointing me in the right direction.
cheers
EBK#M5CoreInk #ScreenFading #SetScreenHV # ScreenDump #Json
-
RE: Where is the API ?
@ajb2k3 well google actually helped me with uiflow / blockly code images to understand how to put things together. At the moment I try to find something usefull for "deep.sleep" after some time and "wake.up" after sometime/or pressing a button (M5 CORE INK). I will get there...
Also there is a nice "translator" from code to blockly what helps me a lot as chat gpt can write python. -
RE: Where is the API ?
@ajb2k3 thanx for your fast answer : ) Well I found out by now that to "burn" neewest "firmware" is in fact the "must to do first" so the core is ready to be connected and works with uiflow. As a total beginner but even digging the internet (yt, google, github...) that was not clear to me, not even that there is a "burn" process. I slowly get behind the logic. Well, I am not the first one on this so I assume there is a "sticky post" or something guiding though this and I just couldn´t make it to find.
-
RE: Where is the API ?
newby here, I wonder the same and can´t believe in this forum is nothing about that.
So am I such a total Idiot that even hours of google search doesnt point in any direction except some seconds of video footage showing a calendar booting.I don´t think I had ever a product with zero documentation how to set things up like M5Stack core ink.
Brutal, very frustrting experience.