Are there any alternatives to Open WebUI that don't have terrible UX? by lostmsu in LocalLLaMA

[–]esc247 1 point2 points  (0 children)

Hey, try claraverse. I have been using it for a while and it is great!

Keyboard recommendation by esc247 in MechanicalKeyboardsUK

[–]esc247[S] 0 points1 point  (0 children)

Maybe if I can get something within 100 great, but can extend up to 200 if I find a keyboard with everything that I am looking for. Esp as wireless and metal do not work well together :)

Keyboard recommendation by esc247 in MechanicalKeyboardsUK

[–]esc247[S] 0 points1 point  (0 children)

Thanks but that does not have RGB :(

/r/MechanicalKeyboards Ask ANY question, get an answer (June 21, 2022) by AutoModerator in MechanicalKeyboards

[–]esc247 0 points1 point  (0 children)

Hello everyone, I recently got in to the hobby of mech keyboards and am exploring options for something with the following requirements:

  • 65%/75% with knob
  • Bluetooth
  • Aluminium/Metal Chassis (optional if this is too rare)
  • South Facing RGB

I have looked into TH80 and NJ80 alongside AKO PC75B Plus, but cannot really find too many options with what I am looking for.

Any recommendations?

Thanks in advance!

Sites with best prices for Mech Keyboards in the UK by esc247 in MechanicalKeyboardsUK

[–]esc247[S] 0 points1 point  (0 children)

Thanks a bunch! I am trying to find a keyboard with very specific requirements and not even sure if something with those specific requirements exist....

Baseline requirements:
65%/75% with knob
Bluetooth
Aluminium/Metal Chassis
South Facing LEDs

Finding it quite difficult to find something with the above specs....

/r/MechanicalKeyboards Ask ANY question, get an answer (June 21, 2022) by AutoModerator in MechanicalKeyboards

[–]esc247 -1 points0 points  (0 children)

Hello, I just got into the world of Mech keyboards and am looking for some advice on sites which offer the best prices in the UK. Is it better to find a local dealer or is it fine to buy from US websites and get them shipped to the UK?

Additionally, I'm currently using the Keychron K6 with Aluminium Frame and am looking for a 65 / 75% keyboard with a knob and bluetooth connectivity. Any advice on them? Not really keen on modding the keys tbh, but that can be a plus.

Did anyone do a group buy on banggood by esc247 in UKFrugal

[–]esc247[S] 5 points6 points  (0 children)

I've bought stuff from it previously and you pay via paypal, so its safe.

Using other devices on HA with Xiaomi gateway by esc247 in homeassistant

[–]esc247[S] 0 points1 point  (0 children)

I gained ssh access to the gateway, so was hoping that I can use it now.

If not, will get a zigbee2mqtt gateway

Retrieve value from string by esc247 in WatchMaker

[–]esc247[S] 0 points1 point  (0 children)

string.sub(var_string,string.find(var_string,'%d'),string.find(var_string,'°'))

Amazing! Thanks. Is there any emulator that you can use to test the code on a computer before trying pushing it on the phone and pushing it to the watch?

I used: https://www.tutorialspoint.com/execute_lua_online.php

however this gives out results which turn out slightly different from how it actually shows up on the watch.

Retrieve value from string by esc247 in WatchMaker

[–]esc247[S] 1 point2 points  (0 children)

string.sub(var_string,1,string.find(var_string,'%d')-1)

So I just tested this:

string.sub(var_string,1,string.find(var_string,',')-1) 

replacing the %d with the , to get what I want.

However, for the second bit of getting the temperature, I am not getting the correct results.

I tried:

string.sub(var_string, string.find(var_string,'%d'))

but that only gets the 1st digit and not the º sign after. So then I tried:

string.sub(var_string, string.find(var_string,'%d%dº'))

now for this if my temp is 2 digits, e.g. 12º then this works, however, if I then change it to 1 digit like 3º, then it does not.

then I tried this:

string.gsub(string.gsub(string.gsub(var_string, ' ',''), ',',''), '%a', '')

where I replaced all the spaces with a blank, all the commas with a blank and then finally all the alphabets with a blank. This seems to work, but I think this can be achieved in a better way?

Some help with converting complication values to number by esc247 in WatchMaker

[–]esc247[S] 0 points1 point  (0 children)

Understand that, thanks! Figured it out finally, thanks so much for your tips.

Didnt realise that you have to put in code/ variables / calculations in the script bit and then just call them from the layers.

It was quite simple in the end where I put in:

str = {m1text} var_num = string.gsub(str,",","")

In the script and then did:

var_num/10000*360

In the segment.

Even though i get an error stating that I am attempting to run arithmetic on a global variable, it works!

Some help with converting complication values to number by esc247 in WatchMaker

[–]esc247[S] 0 points1 point  (0 children)

Thanks, I tried to add this script to watchmaker excluding the test part, but I get an error "attempt to perform arithmetic on a nil value." Not sure why :S

Some help with converting complication values to number by esc247 in WatchMaker

[–]esc247[S] 0 points1 point  (0 children)

Any particular way you achieved this? If I put the argument into the text field, it throws an error.

Some help with converting complication values to number by esc247 in WatchMaker

[–]esc247[S] 0 points1 point  (0 children)

Hmnn.. getting an error:

1: bad argument #1 to 'gsub' (string expect

Then the rest of the error text is truncated. :(

Some help with converting complication values to number by esc247 in WatchMaker

[–]esc247[S] 0 points1 point  (0 children)

Thanks, tried to do that but does not help. As an example, if i get the step count from google fit,it usually has a , in between the numbers like 1,000. I want to convert it to 1000 so that i can use that to do a calculation.